Perhaps the cursor for the report is at EOF()? See, there is no reason I can think of for SET PRINTER to be involved. What sort of network are you running on?
>When I comment out the SET PRINTER ON and SET PRINTER OFF commands my report doesn't print. I only spit out a blank page after I leave the application, but no report. I had better do some further study and reading about printing.
>
>I must be missing something. I have lot of VFP books, but I can't find a good example of what a Print Button on a form should like just to print a single report (.FRX file). I looked at the MS Sample Tastrade and that didn't show SET PRINTER commands, but something is confused and it could be me. I'll try to find some printing examples in my archives. Maybe that will help.
>
>I hope your day was better than mine. I got a call early this morning and had to spend the day reinstalling Win 95, Win software apps and backing up files for a former client who tried to install some new UPS software that clobbered and corrupted their PC. Not my idea of fun! I will be back on the VFP wagon tonight. Have a good one.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05