Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Noconsole command doesn't work
Message
 
 
To
15/06/2001 09:25:08
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00519902
Message ID:
00519967
Views:
16
>I am printing a report to a file with noconsole to get the total number of pages and then reprinting the report with page x of totalpages. The noconsole command works but still flashes the standard fox window with a report name, number of pages and a cancel button. Is there any way to also supress this window?
>
>Thanks

In the page header of your report (or title, if you have it), put a field with UDF:
********************************************************************
*  Description.......: Hides Printing window
*  Calling Samples...:
*  Parameter List....:
*  Created by........: Cathy Pountney  #028660
*  Modified by.......: 
********************************************************************
if wexist('Printing...')
     move window 'Printing...' to -1000, -1000
endif
wait window nowait "Processing report... Please, wait..."
return ''
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform