>>Craig,
>>
>>>>I'm wondering if there's a simple way to suppress the message box that pops up to display the page count whenever a report is run in VFP. This is the command I'm using to print the report:
>>>>
>>>>REPORT FORM STMT1 NOCONSOLE TO PRINT
>>>>
>>>>I've tried setting TALK OFF, but that doesn't work. I'm making the transition from FoxPro Dos 2.6 to VFP, so please forgive me if this seems like a dumb question. I'm using VFP 5.0
>>>>
>>>>Thanks for any help!!
>>
>>
>>>In the Report, you can call a function that does:
>>>
>>>MOVE WINDOW "Printing" to -100, -100
>>
>>Does this command just move the message box off the screen? I'm just double checking to make sure is all.
>
>
>Yup. There's no way you can totally suppress it. I wish you could. When you do this, it will flash for a moment, then disappear.
You *can* keep it from ever being displayed: (it's there, you'll just never see it)
DECLARE INTEGER GetDesktopWindow IN WIN32API
DECLARE INTEGER LockWindowUpdate IN WIN32API INTEGER lnHandle
hWin = GetDeskTopWindow()
LockWindowUpdate(hWin)
REPORT FORM x to print
LockWindowUpdate(0)