Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing footer
Message
De
17/03/2001 17:30:51
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
16/03/2001 21:11:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00485167
Message ID:
00486240
Vues:
11
>>>>Try a page footer with Print When _PAGENO <> 1 for the item which should not show on page 1.
>>>
>>>You meant that I put both the information in the page footer, but when the file is EOF() they will be printed at the bottom of the page, not like the group footer they always print after the last record if EOF(). Any more idea ?
>>
>>What about putting the same information in both the page footer and group footer/report summary. Use Print When to make the page footer not print on the last page. Determine the last page by either EOF() or by running the report the first time to a file and grabbing the _PAGENO value to a variable, then run the second time to print.
>
>Cindy,
>
>I have done what you've told it worked only for more than one page but if only one page (45 rows) the information will be printed on the second page so there are two pages instead of one. I'm running out of ideas. Is there another way ?

You could make a report variable that counts rows and print the information in the page footer if you're at EOF() and nNumRows <= 45 and in the group footer if your're at EOF() and nNumRows > 45.

Draw pictures of your report. Describe to yourself in words what you want - "I want to print this text here if ___ and print it here if ___. Then use grouping and report variables to test for your conditions.

Create "fake" groups if you need to like grouping on .T. so you can put controls in a group footer which will show in the middle of a page if that is better than a page footer or a report summary band.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform