Information générale
Titre:
ODBC Error : ... cannot be set.
CLOSE DATABASES ALL
CLOSE DATABASES
CLEAR ALL
CLEAR
*
xyz=SQLCONNECT("trnnbruq")
*!! I am receiving the following two errors after the above command
*!! although the program code still works (now ... sometimes it doesn't).
*!! Error #1: Warning: The query timeout cannot be set.
*!! Error #2: Warning: The connection sync/async mode cannot be set.
WAIT WINDOW "Open = "+STR(xyz)
*
abc=SQLEXEC(xyz,"SELECT * FROM trnnbruq","tmptrn")
WAIT WINDOW "Select = "+STR(abc)
*
*
BYBY=SQLDISCONNECT(xyz)
WAIT WINDOW "Closed = "+STR(byby)
*
RETURN
PROGRAM : VFP50
ODBC : VFP50
NT4 Workstation
(I am using ODBC because pretty soon we will be using SQL Server.)
Can anybody tell me why I am receiving the errors?
Thanks,
Gene Berger
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement