Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suppress open file dialog?
Message
De
25/07/2000 13:11:40
Jonathan Cochran
Alion Science and Technology
Maryland, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00396586
Message ID:
00396676
Vues:
8
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).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform