Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditional title page on a report
Message
 
 
À
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:
00572412
Vues:
53
>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!!!

Actually, it was not, if implemented correctly. I thought about Dragan's idea too (I was going to suggest it), but stoped at the thought, that page header should preceed group header. In any case, both Dragan's and my ideas are close and could be implemented in your situation... Give us a little bit more info about logical conditions, I'll explain it more definitely...

>
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform