Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report form to file going to printer
Message
De
16/08/2005 06:29:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01041256
Message ID:
01041259
Vues:
18
Have you tried another name for the file? NULL is a reserved word, maybe it causes problem.

>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform