Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to handle 'Open Dialog' when 'File not found'
Message
From
01/11/2007 09:55:13
 
 
To
01/11/2007 09:43:31
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01265698
Message ID:
01265704
Views:
9
>Hello,
>
>For any reason, a long running process sometimes stops and display the 'Open dialog' window, so I need to trace this problem.
>
>
>How can I avoid the process to stop by using a Try/Catch structure and keep some log or notify me by email, etc.
>I have been testing, but the error is trapped after I press ESC on the 'Open dialog', not before.
>
>Is it possible to avoid this default behaviour of Foxpro asking me to locate a file?
>
>Thanks.
>
>
>Juan C.

VFP9 has the SET TABLEPROMPT command. You probably need to figure out why your table isn't open if since you're using VFP8 or you'll need to upgrade.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform