DBCalc timing
Hi, on the summary band i have a variable that references another
variable and a DbCalc counting the number of records.
The variable's OnCalc is something like:
Value := OtherVariable.Value / DbCalc.Value
The OtherVariable value is OK, but DbCalc is counting on record less
than the existent. It seems to be that the OnCalc event is fired before
the DbCalc has a proper value. How can i set/control the timing of the
DbCalcs?
Thanks
--
Guillermo Castaño Acevedo
Gerente de Sistemas - Grupo Millennium Ltda
GuillermoC@GrupoMillennium.com
www.GrupoMillennium.com
Quid quid latine dictum sit, altum viditur
variable and a DbCalc counting the number of records.
The variable's OnCalc is something like:
Value := OtherVariable.Value / DbCalc.Value
The OtherVariable value is OK, but DbCalc is counting on record less
than the existent. It seems to be that the OnCalc event is fired before
the DbCalc has a proper value. How can i set/control the timing of the
DbCalcs?
Thanks
--
Guillermo Castaño Acevedo
Gerente de Sistemas - Grupo Millennium Ltda
GuillermoC@GrupoMillennium.com
www.GrupoMillennium.com
Quid quid latine dictum sit, altum viditur
This discussion has been closed.
Comments
on the Variables in a band, so that you can control the order that their
OnCalcs fire within the band.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com