Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Choosing a printer
Message
From
06/08/1999 15:06:24
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00250441
Message ID:
00250849
Views:
30
>>Well, I tried it. It didn't seem to do anything. The report still comes out of the default printer. Here's my code:
>>
>>lcPrinter = GETPRINTER()
>>DO setprntr WITH lcPrinter
>>.
>>.
>>.
>>LOOP
>>Stuff to create cursor
>>.
>>.
>>.
>>REPORT FORM (gc_adrvprg+"cpcklst") NOCONSOLE TO PRINTER
>>ENDLOOP
>>
>>Can you see what I'm doing wrong?
>>
>>Thanks,
>>
>>Michelle
>>
>>
>
>
>Michelle,
>
>You still need to clear out the EXPR, TAG, and TAG2 fields from the first record of the report .FRX file. If you do that, it'll work.


I forgot about that mess in there. But I just moved the call to his code to right before the REPORT command and it's working now. So it must over-write it or something.

Thanks,

Michelle
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform