Code: Select all
with FKostenQuery do
begin
Connection.StartTransaction;
Edit;
FieldByName('bedrag_uitgerekend').AsFloat := ubedrag;
FieldByName('bedrag_gewijzigd').AsFloat := ubedrag;
Post;
Connection.Commit;
end;
How will I do this in code? The table will be opened, updated and closed in a class.