S
S.B.S.
I have setup an Update form with Database Results Wizard and adjusted the
query to UPDATE the results:
"UPDATE mytable SET fname='::fname::', lname='::lname::', comments='::txt::'
WHERE iid=::id::"
fname - character field, linked to a textbox fname
lname - character field, linked to a textbox lname
comments - text(memo) field, linked to a textarea txt
The problem:
Upon submission of text edited in the editbox, an error is generated if the
text contains newline characters or the length of input exceeds 255. How can
this be fixed?
Here is the error itself:
-----------------------
Database Results Error
Description: [Microsoft][ODBC Visual FoxPro Driver]Command contains
unrecognized phrase/keyword.
Number: -2147217900 (0x80040E14)
Source: Microsoft OLE DB Provider for ODBC Drivers
------------------------
query to UPDATE the results:
"UPDATE mytable SET fname='::fname::', lname='::lname::', comments='::txt::'
WHERE iid=::id::"
fname - character field, linked to a textbox fname
lname - character field, linked to a textbox lname
comments - text(memo) field, linked to a textarea txt
The problem:
Upon submission of text edited in the editbox, an error is generated if the
text contains newline characters or the length of input exceeds 255. How can
this be fixed?
Here is the error itself:
-----------------------
Database Results Error
Description: [Microsoft][ODBC Visual FoxPro Driver]Command contains
unrecognized phrase/keyword.
Number: -2147217900 (0x80040E14)
Source: Microsoft OLE DB Provider for ODBC Drivers
------------------------