Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Choosing a printer
Message
 
 
À
06/08/1999 15:04:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00250441
Message ID:
00250849
Vues:
32
>>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
Fil
Voir

Click here to load this message in the networking platform