Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing one record to a form
Message
 
À
04/09/1997 16:52:24
Brad Stickley
Parker Pneumatic Div. North America
Wake Forest, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00048568
Message ID:
00048595
Vues:
24
>>>I have created a form and have the buttons on it that are from the wizard library. When I press print the form that comes up is correct, but it tries to print every record. How do I set it to only print the current record on the screen to the form?
>>
>>Do you need to copy the record do you want to a temporary file and use the same alias name for the report does not confuse.
>>
>>Gerardo
>
>Gerardo,
>I am kind of new at most of this and may not understand your question. Do I need to create a temporary file and print from it? If so, how do I do that?
>
>Thanks, Brad.

The code is in the txtbtns class in VFP\WIZARDS\WIZSTYLE.VCX. Make a copy of this class in your own class library and edit as you see fit. The txtbtns class and its many methods do just about everything on a form built with the wizard. It's not real flexible. In your case, the cmdPrint.Click has the line REPORT FORM (m.cRepName) PREVIEW NOWAIT which you could edit based on conditions in your form.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform