Code: Select all
SAMPLE TABLE FIELDS
=============
AIncrementKey
AStringField(10)
AIntegerField
Code: Select all
SAMPLE DATA
=================
1 happy 10
2 sad 11
UPDATE SAMPLE Set AStringField=:AStringField WHERE AIncrementKey=:AIncrementKey
I then can use the PARAMS to populate the UPDATE statement, i.e.
Code: Select all
TUniQuery.Params[0][0].AsString := 'mad';
TUniQuery.Params[1][0].AsInteger := 2;
// Note that this record does not exist in the database table SAMPLE
TUniQuery.Params[0][1].AsString := 'frumpy';
TUniQuery.Params[1][1].AsInteger := 3;
Is there anyway to get information about which records in the PARAMS array failed to UPDATE?
Thanks.