Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement