Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report form to file going to printer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Report form to file going to printer
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01041256
Message ID:
01041256
Vues:
58
Could you help me with this? Please! :-)

I'm upgrading from VFP8 to VFP9 and I'm working on our printing routines.

We have a noOutput() method used to run a report, with the only purpose to calculate the number of pages.
We can't just use the _PAGETOTAL var, because we are chaining many reports.

First problem: the following command sends the output to the default printer.
report form (cNomeReport) noconsole to file null.txt
I've tried almost every combination of commands before the "report form..."

set printer off
set printer to file null.txt
etc...

What is driving me crazy, is that the code we used under VFP6, 7 and 8 worked for years.. :-(

Another strange behavior is that if I remove the "to file.." clause from the "report form" command..
report form (cNomeReport) noconsole 
..it doesn't go to the printer, but the _pagetotal is always 1.
Have you ever experienced such problems?

Sorry for asking help for this again.. but I'm surely missing something here.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform