Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing
Message
De
09/12/1997 09:02:49
Brad Stickley
Parker Pneumatic Div. North America
Wake Forest, Caroline du Nord, États-Unis
 
 
À
09/12/1997 08:51:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00064625
Message ID:
00064631
Vues:
25
>I am making a form with the bar tah vfp creates when you use
>th wizard of the forms, but when i push the button of printing a report all the records are printed, How can I make to print only one
>record at a time?
>thanks

Jorge,

You need to check the print button. open the form designer, open the form, highlight the command bar created by the wizard, while the mouse is on the bar right click and select edit. highlight the print command button, double click on it. This will bring up a code window for the click event for that command.

type in the following,

local lnrecno
lnrecno = recno()
report form "C:\IR\REPORTS\REWORK2.FRX" to printer noconsole for recno() = lnrecno

This will take the information on the screen and print it in a report. Where I have "C:\IR\REPORTS\REWORK2.FRX" put in the name of the report you want to print.

Merry Christmas, Brad.
He is there and He is not Silent.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform