Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP breaks ODBC specification, please confirm
Message
De
18/12/2005 02:23:49
 
 
À
14/12/2005 05:04:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01077772
Message ID:
01079001
Vues:
21
Hello Andrus,

i could reproduce the error.

You can also fix it yourself until the next SP is released (which takes too long to wait for):
IF SQLEXEC(connection,'UPDATE that fails') == -1
  SQLFix(connection)
  ....
ENDIF

FUNCTION SQLFix(lnCon)
#DEFINE SQL_RESET_PARAMS 3
LOCAL lnHstmt
lnHstmt = SQLGETPROP(lnCon,"ODBChstmt")
DECLARE SHORT SQLFreeStmt IN odbc32.dll INTEGER, SHORT
SQLFreeStmt(lnHstmt,SQL_RESET_PARAMS)
ENDFUNC
Regards
Christian
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform