So I'm back to (trying to) migrate 100% to FireDAC and running into a seemingly stupid/noob/perplexing problem...
So I'm back to (trying to) migrate 100% to FireDAC and running into a seemingly stupid/noob/perplexing problem against an IBM iSeries. (Existing software uses variously BDE [yes, I know], DBX or ADO, all fine, but all legacy dependencies that I'd like to get away from.) The basic problem is that basic dataset based update code simply does not work. That is, setting up a TFDConnection, TFDQuery and then attempting to update a table just simply does not work. The dataset is eiter read-only, or if I "force things" (for example by setting "UpdateNonBaseTables" or by unsetting "UpdateOptions.CheckReadOnly") then errors are generated. Specifically, setting "UpdateNonBaseTables" to True allows the dataset to go into edit mode but then generates the following error: EODBCNativeException with message '[FireDAC][Phys][ODBC][IBM][System i Access ODBC Driver][DB2 for i5/OS]SQL0104 - Token . was not valid. Valid tokens: , FROM INTO.'...