Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moved Pointer
Message
From
26/04/1998 11:53:49
 
 
To
26/04/1998 11:20:43
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00094968
Message ID:
00094971
Views:
27
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
Map
View

Click here to load this message in the networking platform