Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditional title page on a report
Message
 
 
To
23/10/2001 15:30:55
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00572248
Message ID:
00572266
Views:
38
>Nadya,
> How would I get the page to break after printing the text?

I'm afraid, only with couple of CRs.

>
>>The first idea, that comes to mind, is to put title in Page Header instead and control its printing with two conditions... See, if it works, and if yes, I'll explain more, that I have in mind.
>>
>>>I'm trying to print out a title page for a report that only prints when a logical expression is true. Otherwise, no title page prints (and no blank page get's kicked out!).
>>>
>>>At first, I tried to modify the report to conditionally print the title page, but I couldn't get the page to break after title text printed (all text contained in single memo field/variable). If I changed the report to page break at design time, it forced a blank title page at runtime (not what the cook intended and defeats the whole purpose). Without the page break at design time, the report started printing at the end of the title text. Adding a variable amount of CR&LF didn't do it either. There is something very strange about the report writer & title page...
>>>
>>>Then I have been trying to hack the FRX to add necessary rows to the frx at runtime, but still am not having any success.
>>>
>>>Anybody out there find a better solution, (still using the VFP report generator) and/or give me some tips and tricks to solve the problem?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform