Also, when you executedUse SQLDelete property to specify SQL statement that will be used when applying a deletion to a record
Code: Select all
Dm.Trengpol.Delete
then Dm.Trengpol.SQLdelete code execute
Also, when you executedUse SQLDelete property to specify SQL statement that will be used when applying a deletion to a record
Code: Select all
Dm.Trengpol.Delete
Code: Select all
Dm.Trengpol.SQL.Clear;
Dm.Trengpol.SQL.Add('Delete from CRENGPOL where NUMPOL = '+Epoliza.Text);
Dm.Trengpol.Execute;