Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting error messages from SQL 7
Message
De
25/08/2002 18:42:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Getting error messages from SQL 7
Divers
Thread ID:
00693487
Message ID:
00693487
Vues:
51
hello group,

I am using the
lcScript = "DRIVER=SQL Server;SERVER=myserver;UID=sa;PWD=mypassword;APP=Microsoft® Visual FoxPro®;WSID=AUDAT;DATABASE=mydatabase"

lnHandle= SQLSTRINGCONNECT(lcScript)


Which I guess is an ODBC connection.

If I try to insert a row and violate a table constrait like a PK restraint, is there any way to pick up this error in the foxpro program?

Thanks
Jim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform