General information
Category:
Reports & Report designer
Title:
Report not printing all records
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
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