Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Unrecognized phrase/keyword
I am developing a VB project on an NT machine, but have had to move a copy of it to a Win 98 laptop for a demo. Now when I test it, I get the following error:
Run-time error
[Microsoft][ODBC Visual Foxpro Driver] Command contains unrecognized phrase/keyword
The project successfully opens my connection with this line:
dbfDataEnv.dbfConn.Open
It gets the error on the following line:
dbfDataEnv.rssqlDepartment.Open
This really stumps me. The code is identical in both copies. The NT machine runs fine. The Win 98 one stops at the above line. I have even gone so far as to disconnect and reconnect the connection, set up the ODBC connection again, even retyped the line (and the VB system prompts me for each part of the problem line!)
Any suggestions?
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