Board index » delphi » updating Access Memo field with long strings
ernestocs666
![]() Delphi Developer |
updating Access Memo field with long strings2006-05-24 12:49:18 AM delphi259 Hi list, I have a problem for update a Memo field in Access with my app I had the content recorded in a TMemo, when I make the UPDATE like this: dm.query_connection.sql.add('INSERT INTO Connection (Data) VALUES (:data)'); dm.query_connection.prepare; with dm.query_connection do begin params.parambyname('data').value:=memo1.text; ExecSQL; end; In some cases works great but in others (long lines of text) it gave me the error: Error: ODBC Microsoft Access: Invalid precision value Any idea why is this? Its there a better way to update this table? Thanx Ernesto |