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