You can scan crsDates cursor, run query for each record and than excute your code on that cursor. Or you can use FOR clause of the List commmand to do the same.
>You are right but actually I want to send into 5 texts files instead of using myreport.frx in which can not fit my output lines more than 1000 characters per line.
>
>report form myreport to myfilename
>
>will not fit many characters.
>
>That's why I need you to provide 5 cursors dates to produce 5 texts reports
>
>by coding
>SET PRINT TO REPORT1.TXT
>SET PRINT On
>SET CONSOLE OFF
>
>SELECT MYCURSOR1
>LIST OFF
>
>SET PRINT TO
>SET PRINT Off
>SET CONSOLE ON
>..................... and so on to the next report2 ...
--sb--