These are preliminary test results showing a possible bug for a query with a wildchart.
I have a table with 99 columns, and a ZQuery :
select * from leveranc where stamnr=:stamnrThis table leveranc has a primary key stamnr.
I use an update object that has as its modifySQL :
update leveranc set naam=:naam, woon=:woon ...(and so on for 99 fields) where stamnr = :OLD_stamnrThe fields have TDbEdit components connected to them. The datasource is set to auto-edit-mode (which is the default).
The ZQuery is initially in "dsBrowse" state.
If I edit the DBEdit that corresponds to the 95th (or so) to 99th field in the table, and then Post, NO update query is performed. On re-opening the dataset, no data was changed.
If I edit the DBEdit components that correspond to the 1st to 95th field in the table, everything works fine.
If I edit one of the fields no. 95-99, together with a field no. 1-95, and then POST, then all data is saved (from all edited fields).
It seems as if changes in fields 95-99 are not seen by ZEOS, and it then decides not to generate an update-query.
On the other hand... if I write out all fields in the select query (and not use a * - wildchart) :
select naam, woon, ...(and so on for 99 fields) from leveranc where stamnr=:stamnrthen everything seems to work fine for all 99 fields. for now.
Is this behaviour known or familiar to anyone ?
Thanks,
Geert.