Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using CmdButton to Print/Preview Report
Message
De
29/10/1998 13:59:32
 
 
À
29/10/1998 13:04:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00152391
Message ID:
00152441
Vues:
16
>>>>The "Print Report" button has the following code in the click event: PreRepID = Names.name_id
>>>> Report Form Intake.frx For Names.name_id = PreRepID To Printer
>>>>
>>>>The "Preview Report" click event is similar:
>>>> PreRepID = Names.name_id
>>>> Report Form Intake.frx For Names.name_id = PreRepID Preview
>>>>
>>>>Any suggestions?
>>>>TIA
>>>>--Lincoln
>>>
>>>You may make your code 100% reliable by selecting this one record to a cursor and print from this cursor.
>>
>>
>>How do I do that?
>
>Select * From ... Into Cursor tmp Where name_id=...
>Report Form ...
>Select tmp
>Use
Thanks, I'll try it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform