>>Yes .. I think you grasp the concept correct. You could create your framework to do a 3-pass process depending on flags. First pass -- check to see how talk each band is, if the "lRememberHeight" flag is set. Second pass -- check to see if the record is the last on a page, if the "lCheckBottom" flag is on. Third pass -- the real report run that may or may not reference cursors created in pass 1 or 2.
>
>Thanks again for your help - much appreciated!
>
>Malcolm
Hi Malcolm,
3 way report pass + listener tweaking sounds like a lot of hassle to me.
New VFP9 reporting is already considerably slower then what it used to be,
now if you hv to do 3way pass with a bit bigger number of records you might
exceed acceptable timing for your report.
I suggest you have look at XFRX/XFF scripts.
I hv heard that MindsEyeRE has scripting features as well.
You can design whole report in code using those scripts. In code you hv all flexibility you need to do whole thing in one go.
Aldough it sounds scarry, it might be easier / faster then what you are doing right now.