>>Hi all,
>>
>>How can I supress the printing window that appears when VFP prints a report?
>>( not the printing dialog window, but the small one with the reports name...)
>>
>>Thanks
>>
>>Gadi
>
>Hi Gadi,
>
>Technically, you can't suppress it ... But you can move it out of the way so it appears as if it's gone. Put the following code in a UDF that you can access from the report.
>
>
>IF WEXIST('Printing...')
> MOVE WINDOW 'Printing...' TO -1000, -1000
>ENDIF
>
>
>In the "On Entry" portion of the Title band of your report add a call to this UDF. If you're working with 2.6 instead of Visual, add an object to the title band that calls the UDF.
>
>The "Printing..." window will flash for a brief moment and then look like it disappears. But beware, it's still there so you still can't print reports from COM objects.
>
>Cathy
Thank you Cathy !!!
:-)
Gadi