Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of pages printing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00418243
Message ID:
00418348
Vues:
30
>I need to count the pages of my report before printing. To do that, first I run the report TO a file and count it with a _pageno. The thing is when I execute the REPORT command the ‘Printing Pages’ window shows displaying how many pages there are. I want this to be invisible to the user, so that if the report is more than 30 pages advise them to preview instead of printing.
>Can I suppress that window for displaying?

Christof Lange had an article to do this an other reporting tips in the Oct 1998 issue of Foxpro Advisor. The best you can do is hide that window, but it will flash momentarily. Put a UDF in either the report's Title band or the page header that calls this procedure:
Procedure HidePrintWind

   If WExist('Printing...')
      move window "Printing..." to -1000,-1000
   Endif

Endproc
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform