Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP3.0 Reports Wrapping to New Page Too Early
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00056067
Message ID:
00057115
Views:
35
>>When I took another look at my report, which had a similar problem, I realized that although my memo looks like the last field on the page when it is printed, it isn't really. I have a two page report, run off a cursor which makes separate records for page 1 and 2. The memo has a PRINT WHEN pageno = 2, and all the other fields PRINT WHEN pageno = 1. Even though these other fields don't actually print below the memo, they are below it in the report layout. That must have caused my problem. I was getting blank pages printing after the memo when it exceeded half a page or so. No easy fix for me, I think.
>
>Bret,
>
>The variable 'pageno' is it really the system variable _pageno or is it a field in the cursor. If it is _pageno then you would not have anything print after page 2., but then you shouldn't have gotten past page 2. If the non-memo fields are blank on page 2, maybe marking the report fields to 'REMOVE IF BLANK' would stop the problem. If the non-memo fields are not blank-maybe they should be.
>
>
>Ken

It's a field in my cursor, and I actually call it "listorder", since Mr. T. A. Bureaucrat called it that when he taught me the trick. When you suggest making the report fields "REMOVE IF BLANK", I suppose you mean "Remove line if blank", which is the option I see in there (I have VFP3). That option always seemed nearly useless to me. Typically, your line will have a label in it, and will never be blank. I could concatenate the label into the expression of the field box, but I don't want to remove blank lines on page one anyway. Also, I use non-proportional Courier font for the labels, so that they line up better, and use Arial, which looks nicer, for the fields.
Previous
Reply
Map
View

Click here to load this message in the networking platform