General information
Category:
Coding, syntax & commands
Title:
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?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only