J
John H W
When I run a report, I needed two separate counts on the same data field (P
or T). Since I could not figure out how else to do it, I wrote a function to
which you send (and return) the "P" or "F". This function just adds one to
the applicable global variable. In the reports footer, I have another
function to which you send either the P or F and it returns the amount in the
global variable.
This works find and the correct amount is displayed on screen, but when you
print the report, the figure on the report is doubled (other printings it may
be tripled, etc., depending on how many times I print the report after
running the initial report).
I have put breakpoints in the functions that adds to the count and returns
the count, but neither is activated when the report is printing.
Any ideas??
John H W
or T). Since I could not figure out how else to do it, I wrote a function to
which you send (and return) the "P" or "F". This function just adds one to
the applicable global variable. In the reports footer, I have another
function to which you send either the P or F and it returns the amount in the
global variable.
This works find and the correct amount is displayed on screen, but when you
print the report, the figure on the report is doubled (other printings it may
be tripled, etc., depending on how many times I print the report after
running the initial report).
I have put breakpoints in the functions that adds to the count and returns
the count, but neither is activated when the report is printing.
Any ideas??
John H W