Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Cause Page Footer NOT to Print on Last Page
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00124851
Message ID:
00124867
Vues:
26
>I have placed the label 'continued...' in the Page Footer. Of course, it's erroneous to print this on the last page of the report.
>
>I have been trying to come up with something in the Print When... that will fix this. One thing I tried was Print When... RECNO()+1<>EOF(). Alas, this is an Operator/Operand type mismatch.
>
>Would greatly appreciate help. TIA, CH.

The reason RECNO()+1 <> EOF() doesn't work is because RECNO()+1 is numeric and EOF() is logical. Using similar logic, you could say RECNO() <> RECCOUNT(), but this wouldn't work in cases where the last record is deleted and doesn't print, or if you have a filter or scope clause.

Here's an idea. Before you call the report, store the record number of the last record you know will print. Then you can test if RECNO() <> in the footer.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform