Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report not printing all records
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Report not printing all records
Miscellaneous
Thread ID:
00179706
Message ID:
00179706
Views:
53
I have an updateable cursor that is used for printing a report based on a logical field being set to .T. in an updateable cursor. All I'm doing is this:

nAnswer = MESSAGEBOX(cMessageText, nDialogType, cMessageTitle)
DO CASE
CASE nAnswer = 6 &&YES
SELECT lcsearch &&this is the cursor
GO TOP
REPORT FORM listview.frx FOR lcsearch.selectit ;
TO PRINTER NOCONSOLE
CASE nAnswer = 7 &&NO
RETURN .F.
ENDCASE

If I use the PREVIEW command all of the records with the field
selectit set to .T. do show up in the report which is what I'm after, but if I use the TO PRINTER command only the first record that qualifies prints on the report.

Any assistance appreciated!

Thanks
John
Next
Reply
Map
View

Click here to load this message in the networking platform