General information
Category:
Reports & Report designer
The report form command moves the record pointer by default. If you want it to start at the Current Record and go through the end of your table, include
WHILE .T. - REPORT FORM ClientStatus WHILE .T. NOCONSOLE TO PRINT
The WHILE scope option always prevents such commands in Foxpro from moving the record pointer. But if you want to print a particular range, you can figure out how to do it with the WHILE or FOR commands. If you only want the memo to print for one record, put:
l_nRecno = Recno('TableX')
REPORT FORM ClientStatus WHILE Recno('TableX') = l_nRecno NOCONSOLE TO PRINT
-Adam
>I have a page with two edit boxes bound to memo fields. On this page is a print button. The user clicks on the button and I want the program in invoke a report that prints the contents of the two memo fields to print:
REPORT FORM ClientStatus NOCONSOLE TO PRINT
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only