>>>Try
REPORT FORM YourReport NOCONSOLE PREVIEW IN SCREEN TO FILE NUL
>>>instead.
>>>
>>>That will work.
>>>The output is then directed to the nul device which means that there is no output at all.
>>>You have to include the IN SCREEN or otherwise IN WINDOW windowname, or otherwise it will error on a missing comma. (probably a small bug in VFP.)
>>
>>Although the code will produce a preview window, the print feature is still enabled and working.
>
>Yes,
>
>but it prints to the NUL device so it will not come out of your printer
Ko,
Have you tried your code? I tried all versions and it always printed!!!!! No, you should think harder :)
If it's not broken, fix it until it is.
My Blog