Insert, Update Sql
Posted: Sun 25 Nov 2007 23:16
Is it true that cachedupdates only will work dataaware comp. and using Insert, edit, Post e.t.c.
I would like to the user a change to confirm all inserts and updates at one time.
If i use InsertSql and apply() i dont get the possibility to use ROLLBACK and CANCELUPDATES
MyUpdateSql1.InsertSQL.Text := 'INSERT INTO sejler (Status, Navn) '+
' VALUES ('+'''Lejer'''+', '+'''Julemanden'''+')';
will insert a new record, but its not possible to cancel or rollback
Tumbe
I would like to the user a change to confirm all inserts and updates at one time.
If i use InsertSql and apply() i dont get the possibility to use ROLLBACK and CANCELUPDATES
MyUpdateSql1.InsertSQL.Text := 'INSERT INTO sejler (Status, Navn) '+
' VALUES ('+'''Lejer'''+', '+'''Julemanden'''+')';
will insert a new record, but its not possible to cancel or rollback
Tumbe