Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using CmdButton to Print/Preview Report
Message
De
29/10/1998 13:04:20
 
 
À
29/10/1998 12:28:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00152391
Message ID:
00152420
Vues:
23
>>>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
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform