Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Cause Page Footer NOT to Print on Last Page
Message
De
10/08/1998 13:20:28
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00124851
Message ID:
00125330
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.
>>>>
>>>>Make the Print When NOT EOF(). The error is triggered because RECNO() + 1 is numeric and EOF() is logical.
>>>
>>>Thanks for the help. While NOT EOF() still causes 'continued' to print in the page footer of the last page of the report. BUT, the report is NOT continued on the next page of the report when it's the last page of the report. So, I need some way to make 'continued' print on every page of the report except for the last one. Would appreciate any further help. TIA, CH.
>>
>>Page Footer 'Print When' shoul look like:
>>RECNO('curReport')<>RECCOUNT('curReport')
>>assuming that you don't have deleted records.
>
>Ed: Thanks for your help. In this particular case, I have set a filter.

It shouldn't be a problem either. Check what is the last record RECNO() in your filter and keep it in variable scoped around the report form, and put RECNO('curReport')<>nLastrecord in 'Print When'.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform