Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Designer Problems on VFP 8
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00891731
Message ID:
00894419
Views:
19
Thanks for the sample, Paul.

This actually does what I expect <s>.

The reason you still see the problem is that the settings will not remove the issue if the record in question happens to be the last one in the sample (see the event order again).

Since your sample has only one record, you're going to get that blank page 2.

However, if you add a record to this sample table, you should see the difference that the settings make. (Mark it deleted, turn deleted on and off to check different settings). Depending on the control settings, you can get a blank page ** in between ** report details, or not. You should also see the slight "jump" in position I mentioned, representing that extra space before the detail band actually finishes, for the top of the second detail text on the proper next page.

You can kludge a solution for this with the appropriate settings and attendant code, which would be something like this:

* -- check the last record in the scope for length of appropriate field -- use txtwidth() or whatever seems best to arrive at a limiting figure

* -- if last record's contents are short, run report TO a window ACTIVATEd NOSHOW, check _PAGENO (no, I don't mean use _PAGETOTAL), and then run the report to RANGE 1, _PAGENO - 1.

Pretty ugly, I agree <s>.

The best settings are:

* -- Picture Float
* -- Picture Repeated No, Also Print in First Whole Band

... if the ole field can be empty you would also need:

* -- Picture Remove Line if Blank
* -- Picture Print When ! empty(curtest.gImage)
* -- Field Float

Interestingly in your sample if you mark the field "Fix relative to the bottom of the band", you may *never* get any text <g>.

>L<
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform