Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suppress open file dialog?
Message
From
25/07/2000 13:11:40
Jonathan Cochran
Alion Science and Technology
Maryland, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00396586
Message ID:
00396676
Views:
9
IF !EMPTY(ALIAS())
   BROWSE
ELSE
   ** Write message to log file.
ENDIF
Instead of a warning message in the ELSE, you could write a message to a file with the FPUTS() function. If there are error messages you want to trap, you may want to look at the ON ERROR setting. You could set it up to log errors to a log file. Note that the open dialog that comes up when you issue BROWSE with no table open isn't an error, so it wouldn't be caught by ON ERROR.

>I would like to know if there is a way of suppressing Foxpro System dialogs so the program can continue.
>
>***I want the Error to be trapped and logged in my error table, Instead of a MSGBOX sitting there waiting for user input. This way if an error occurs at 3:00am The program will log the error and continue without the Foxpro message box(s).
Previous
Reply
Map
View

Click here to load this message in the networking platform