Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Field Printed Bogus Data
Message
 
À
19/09/2002 15:36:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00702308
Message ID:
00702448
Vues:
16
>I'm not sure why it is doing it...it don't generally use the FOR clause of REPORT FORM, and you are changing the value of the field on the fly.
>
>I would be more inclined to do the REPLACE at the end of the report (for example, add a group on eof(), and put your UDF call there). That way it is an all or nothing deal...if user cancels the report.
>
>
select owrk
>replace flagged with "P" for flagged == "R"


Thanks Steve. Yes, that is a viable alternative, and I've found that users vary rarely print only some of the pages. The only reason for prompting for the printer is this report goes to two different printers based on the department (laser for single sheets and dot-matrix for two-part carbonless paper).

Now if VFP could tell the Windoze print dialog to disallow the printing of only 'some' pages..... then this camper would be happy.

Meanwhile, I'm going to look into ways of picking the printer from within VFP rather than doing the TO PRINT PROMPT thing.
Randy Bosma
VFP - Because life is too short to code in something else...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform