>The program that will print a bunch of reports (from Win Task Schedule) - automatically, once a week - should not have any interface. However, when I run it as a test on my PC, I see a very quick Message appearing when printing each report (which is in most cases just one page).
>
>The code that prints the report is as follows:
>
>REPORT FORM &cCustomRepName. NOCONSOLE NODIALOG to PRINTER
>
>
>But the PRG file also has a small function that I wrote a thousand years ago:
>
>PROCEDURE OnEntry
>IF wexist( "Printing..." )
> move window "Printing..." to -1000,-1000
>ENDIF
>
>
>Could the above PROCEDURE cause the quick message? And if so, where do I find this OnEntry procedure in the Report?
>
>TIA
I found a WAIT WIND in the PRG that creates a report. So, I need to get rid of it. It was not OnEntry().
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham