Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
StringConnect Warning message - prevent display?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00774431
Message ID:
00774435
Vues:
12
Tom,

You can turn off display of ODBC errors
SQLSETPROP(0,"DispWarnings", .F.)
IF SQLStringConnect(...) < 1
  AERROR(...)
  * process ODBC error
ENDIF
>I am doing a SQLStringConnect() and get a warning message 1480: "The connection sync/async mode cannot be set"
>
>It seems to work despite the warning, but creates this dialog box which I don't want to show the user. Funny but, ON ERROR * does nothing, and it doesn't go to my Error method either. How can I get rid of this message?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform