PaulHInstincticve
Programmer
I am updating a database with details entered into a text area on an ASP web form using the following syntax
Set topicsrs = Server.CreateObject( "ADODB.Recordset" )
topicsrs.ActiveConnection = Con
sqlString = "insert into mbtopics (ctopicref, mmessage) values ('" & lctopicref & "','" & lmmessage & "')"
topicsrs.Open sqlString
Depending on the form contents this might create something like
insert into mbtopics (ctopicref, mmessage) values ('000001','This is my message text')
This works great where the contents of lmmessage are less than 255 characters in length but when I go over that I get the following message even though the field in my database is a Visual FoxPro Memo field capable of storing up to 64,000 characters.
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Visual FoxPro Driver]Command contains unrecognized phrase/keyword.
Does anyone know how I can overcome this?
Thanks
Paul
Set topicsrs = Server.CreateObject( "ADODB.Recordset" )
topicsrs.ActiveConnection = Con
sqlString = "insert into mbtopics (ctopicref, mmessage) values ('" & lctopicref & "','" & lmmessage & "')"
topicsrs.Open sqlString
Depending on the form contents this might create something like
insert into mbtopics (ctopicref, mmessage) values ('000001','This is my message text')
This works great where the contents of lmmessage are less than 255 characters in length but when I go over that I get the following message even though the field in my database is a Visual FoxPro Memo field capable of storing up to 64,000 characters.
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Visual FoxPro Driver]Command contains unrecognized phrase/keyword.
Does anyone know how I can overcome this?
Thanks
Paul