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
Miscellaneous
Thread ID:
00179706
Message ID:
00180129
Views:
22
John,
First, are you using a private datasession in your report? If so, change it.

Second, are there any tables in the report data environment? If so, remove them.

And finally, design your cursor so it contains only the records you want to print.

Usually when there's a problem like this it's because you have the wrong table selected and the report keeps printing the first record of your cursor as it scans through the other (wrong) table.

HTH
Barbara


>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
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform