Quantcast
Channel: DA-SOFT Technologies - Forum
Viewing all articles
Browse latest Browse all 1040

Subject: XE3 => XE7: Param.Size wrongly calculated - by: JHermie

$
0
0
Hello, Situation is as follows: With upgrading from XE3 (anyDAC) to XE7 (Firedac), we suddenly are getting issues on update a charachter field > 255 characters on Informix. We now get the error '[FireDAC][Phys][ODBC]-345. Data too large for variable [#1]. Max len = [256], actual len = [1000] Hint: set the TFDParam.Size to a greater value' Problem is we are using cached update mode in combination with use of 'applyupdates', so we don't have any parameters to set (except for the PK)... FYI: the table definition where we want to update a record: CREATE TABLE com_monster_im ( monim_id INTEGER NOT NULL, com_monster CHAR(1000), PRIMARY KEY(monim_id)); The FDQuery components consists of following query: SELECT monim_id, com_monster FROM com_monster_im WHERE monim_id = :paramMonimId

Viewing all articles
Browse latest Browse all 1040

Trending Articles