Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Range doesn't work?!
Message
De
05/05/2003 18:26:20
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00785023
Message ID:
00785135
Vues:
10
This message has been marked as the solution to the initial question of the thread.
ok, for anyone who is interested:

the work around in order to be able to print Fox2.5 reports from vfp 6 SP5 with a page range is as follows:
rptcmd = "report form dostest.frx noconsole to print"

* *** reset variables
_PBPage = 1
_PePage = 32767
PrintJob
   * *** set the print range
   _PBPage = 5
   _PEPage = 5
   * *** print the report
   &rptcmd
EndPrintJob
the vfp 'range' clause in the 'report form' command will not work with fox2.5 reports. also, just setting the variables '_PBPage' and '_PEPage' will not work. you must encapsulate the actual report command in 'PrintJob - EndPrintJob'. in the above test i have successfully printed only page 5 of a 7 page fox2.5 report from vfp 6.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform