Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditional title page on a report
Message
De
23/10/2001 17:03:10
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00572248
Message ID:
00572330
Vues:
43
Nadya,
OOPS. That was a bad idea. Since I need to reprint the header on each page and the "print repeated values" is not available when a conditional expression is used, this proposed solution resulted in a report infinity pages long!!!


>>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?
Timothy D. Yeaney
MCSD, Charter Member
President, PAFOX (Potomac Area Fox User Group)
mailto:tim@eagleeyeinc.com
Vice President
Eagle Eye Publishers, Inc
Broaden Your Vision, Sharpen Your Focus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform