>Hi,
>
>
>I tried to set the report behavior to 80 before I executed the code that you gave [REPORT FORM (reportname) TO FILE temp.txt NOCONSOLE].
>
>This worked perfectly.
>
>Thanks :)
You're welcome, but I think it should work with behavior 90 as well (I don't have VFP9 right now, but I don't remember anything about total number of pages different in file and preview). Sounds like a bug. Do you have SP1 installed? Is your report complex?
If it's not broken, fix it until it is.
My Blog