Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I recover if user cancels the Print Setup dialog?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
How do I recover if user cancels the Print Setup dialog?
Miscellaneous
Thread ID:
00547069
Message ID:
00547069
Views:
38
I am using =SYS(1037) to give the user the opportunity to change printer orientation on the fly. It works fine, however, I noticed that if I hit [Cancel] instead of [OK], I get

"Error Loading Printer Driver" from my next REPORT FORM statement.

SYS(1037) returns nothing, so I can't tell how the user exited.

How do I trap this or get around this hole?

Thanx,
Joe Pirola
Independant Foxpro Developer
Spring Hill, FL
jpirola@tampabay.rr.com
352/686-8373
Next
Reply
Map
View

Click here to load this message in the networking platform