>Hi, I've already spent too much time trying to resolve this issue.
>Problem is that in Queryunload event i put code which send information to the network printer.
>I could see that printer shows that my report in queue but in spooling status and do not print.
>When i run program in DEBUG mode and stop before REPORT FORM command and press step out - print works ok.
>But when i delete SUSPEND (or ASSERT .f.) command it does not print (but put work in the queue).
>I tried to put SET PRINTER TO command after report form but it did not help.
>I noticed that any stop (like message box) make it work but when it runs without any stops it does not work.
>Thank you in advance.
Have you tried adding a sleep command (or inkey) with 0.1 second delay?
If it's not broken, fix it until it is.
My Blog