I must be brain dead today, I've seen this error before, but this piece of code I'm working on I just can't see why I'm getting it here.
The entire error is
[Microsoft][ODBC Visual FoxPro Driver]Command contains unrecognized phrase/keyword.
This is the line that is getting that error.
ObjRS.Open strSQL, objConn
Here's what those variables are set to
Set objConn = Server.CreateObject("ADODB.Connection")
Set objRS = Server.CreateObject("ADODB.Recordset")
objConn.ConnectionString = "DSN=test1"
strSQL = "UPDATE int_dis SET control = '"& ctrl &"', contact = '"& contact &"', company = '"& company &"', addr1 = '"& addr1 &"', addr2 = '"& addr2 &"'"
I thought at first it was due to the strSQL being longer than 255 characters, but as you can see by the one I'm using now I chopped it down so it would be shorter.
Any suggestions?
Thanks
ChuckG
The entire error is
[Microsoft][ODBC Visual FoxPro Driver]Command contains unrecognized phrase/keyword.
This is the line that is getting that error.
ObjRS.Open strSQL, objConn
Here's what those variables are set to
Set objConn = Server.CreateObject("ADODB.Connection")
Set objRS = Server.CreateObject("ADODB.Recordset")
objConn.ConnectionString = "DSN=test1"
strSQL = "UPDATE int_dis SET control = '"& ctrl &"', contact = '"& contact &"', company = '"& company &"', addr1 = '"& addr1 &"', addr2 = '"& addr2 &"'"
I thought at first it was due to the strSQL being longer than 255 characters, but as you can see by the one I'm using now I chopped it down so it would be shorter.
Any suggestions?
Thanks
ChuckG