>>[snip] Are you saying that you call a UDF in your detail band that adds some totals to a variable or cursor or something and the problem is that as you jump through the report, the totals get messed up?
-----
Yep
>>- First ... can you use Report variables instead of calling the UDF?
----
Nope
>>- Second ... If you can't use a report variable .. do this: Add a call to a UDF in the On Entry expression of the Title band of the report. In that UDF, clear the variables or cursors or whatever it is that you are building.
----
Fixed my problem, thank you very much!
>> Whenever you go backwards through a report .. it actually starts over with the report and reprocesses everything from the beginning. [snip]
Cathy
----
You might want to elaborate on this point a bit in your book (which I have and find very helpful, certainly worth the cost). I don't know if you are familiar with the RPG programming language which follows a set flow (AKA PIA sometimes) but when you learned where to put what, it was workable. A similar outline of the logic flow of the report writer would be helpful.
Thanks again.
Scott
Scott Ramey
BDS Software