Hi:
I have a report with a group band.
In the OnEntry of the group header I call a function that makes
some calculations on a public variable.
In the last page I print this public variable.
If the report has more than one page, the following happens:
Looking at a page where a group starts I zoom/unzoom the report a couple of times.
Every time the zoom changes, VFP6 "reprints" the page, so the function
in the OnEntry of the group header is called again. When I jump
to the page where I print the variable that is calculated I find
is completely wrong since the function was called every time some
page where a group started was zoomed/unzoomed.
Is this documented. Any workarounds?
TIA
BTW I can't use a "report variable" because the report is based in a "1 to many"
and I need this calculation for the parent records "only".
R. Davila
DBA / Network Administrator
Administracion de Fomento Comercial
Gobierno de Puerto Rico
Still waiting for FoxPro for LINUX