tuniquery edit error when select 1 field
Posted: Thu 10 Nov 2011 13:49
unidac version 3.70.0.19
delphi 2007
Hello,
i have a table with 3 fields(field1, field2, field3)
i do
select field2 from mytable
myquery.edit;
myquery['field2'] := 'new value';
myquery.post;
i have an error: Update failed. Found x records.
and all records in mytable with old value of field2 are updated, not only current field.
if i do
select * from mytable, no problem.
any idea?
delphi 2007
Hello,
i have a table with 3 fields(field1, field2, field3)
i do
select field2 from mytable
myquery.edit;
myquery['field2'] := 'new value';
myquery.post;
i have an error: Update failed. Found x records.
and all records in mytable with old value of field2 are updated, not only current field.
if i do
select * from mytable, no problem.
any idea?