You are not logged in.
Pages: 1
Hi, after performing a TSQLTable.DeleteRow(), what should I do to remuve the recorcord from the table for ever?
Thanks corchi
Offline
from the server
Offline
so I have to delete a list of records should write this:
try
if (fLsDelete.Count > 0) then
begin
fClient.BatchStart(fRecordClass);
for ID in fLsDelete do
begin
fClient.BatchDelete(ID);
fTable.DeleteRow(fTable.RowFromID(ID));
fSQLRest.Delete("TSQLRecordClass", ID)
end;
fClient.BatchSend(Results);
//and not necessary, but without properly to create the list of records of fTable:
fClient.UpdateFromServer([fTable], Refreshed);
end;
finally
fLsDelete.Clear;
end;
Offline
Pages: 1