Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print routine is begin weird...
Message
 
À
21/05/1999 17:28:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00221609
Message ID:
00222099
Vues:
23
>
>I'm not sure that it's really the reason of your problems, but it might be, so try, it's really easy: any FRX (or other VFP file) is actually a table and you may say:
>USE myreport.frx
>BROWSE
>and clean the fields (it's memo fields). BACKUP first
>Also, you may debug your case better, if you will issue SET PRINTER .../REPORT FORM ... from command window: here you will immediately (hopefully) see where the problem is.

Edward,
I wanted to let you know, I found a solution to this annoying problem, and maybe this should be added to the frequently asked files...

The reason my SET PRINTER wasn't working was because I need quotes, like this:

lcPrinter=GETPRINTER()
SET PRINTER TO NAME "&lcPrinter" &&right here!! Macro sub INBETWEEN quotes!!
REPORT FORM form TO PRINTER

The above works like a charm!! I found this in a post from a couple months back, finally!!:D I'm going to see if I can't add this solution to the FAQ section, I'm not currently a member, so I probably won't be able to...if I can't(you don't see it there today), PLEASE someone put it there, I've looked thru more posts on this one subject than anything else, and not many real fixes are out there, just one every few months...:|

In any case, thanks for your help and suggestions, I've learned alot, and I hope maybe this will help others too.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform