Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
can't disable SQLExec messaging
Message
 
 
À
29/07/2002 10:46:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00683515
Message ID:
00683521
Vues:
29
Try to disable error and warning messages
= (SQLSETPROP(0,'DispWarnings',.F.)
>I am building a project that runs on a company intranet. As a guide I am using Rick Strahl's book "Internet Applications with Visual FoxPro 6.0". I am loading the project as an .EXE not as a .DLL. The project runs fine except when I execute an SQLEXEC statement, which runs a very large stored procedure on our SQLserver. If this method is built into the project then I get an error message from the .exe that a UI is trying to display, which is illegal and blows the web app. If I block the method the project runs. How do I complete disable the system messaging that happens when an SQLEXEC runs? I use the following code to shut down the messages but it doesn't seem to apply to the SQLEXEC command.
>
< snip >
> *** If you use a SQL backend use this to prevent login dialogs!
> SQLSetProp(0,"DispLogin",3)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform