>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.