Carl
Have you that naughty table in your report's DE? Get rid.
In the field prop's on your report, have you the table name, e.g. RepTable.FieldX? Get rid of the table name.
As you say, the cursor is selected in code so the report knows where to get its data from (assuming the cursor is current)
HTH
Terry
>I am trying to print a report from a 1 record cursor table
>(1 record = 1 page printed).
>
>The cursor file is selected in the code, but when I open a data session and look a different table is selected and the report prints from the selected table when has several thousand records, if I suspend the program and manually select the the table from the command window the report prints correctly... any ideas?
>
>My Code is as follows:
>
>select DECREPORT && cursor table with 1 record
>
>report form myreport to printer noconsole noeject
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.