Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditional title page on a report
Message
De
23/10/2001 15:31:14
 
 
À
23/10/2001 15:20:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00572248
Message ID:
00572257
Vues:
38
>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?

Is the logical expression available from the calling program? If so, you could have a separate report for just the title page instead of using the title band (if that is what you are using).

Disclaimer: It's been long since I've used the VFP report writer, so I may be missing something here.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform