[70936 Closed] Error: String list does not allow duplicates

Hi.
My application follows an briefcase model.
The users often get this error “String list does not allow duplicates”
I have created an small test project that reproduce this issue.
Run the project and click on the “Trig error” button.

thanks
JohnA

StringListDoesNotAllowDuplicatesProject.zip (482.3 KB)

Thanks, logged as bugs://70936: Briefcase: loading table doesn’t set CurrRecId

bugs://70936 got closed as fixed

as a workaround, pls update uDABriefcase.pas as:

class procedure TDAFileBriefcase.InternalLoadTable(const aTable: TDADataTable;
  const aStreamer: TDABin2DataStreamer);
var
  i: integer;
begin
  aStreamer.ReadDataset(aTable.LogicalName, aTable, True, True);
  if aStreamer.FindDeltaIndex(aTable.LogicalName) <> -1 then aStreamer.ReadDelta(aTable);
  if aTable.HasDelta then
    For i:= 0 to aTable.Delta.Count-1 do
      if aTable.CurrRecId <= aTable.Delta.Changes[i].RecID then
        aTable.CurrRecId := aTable.Delta.Changes[i].RecID+1;
end;

Hi.
I tried your fix, but I still get this error

thanks

Have you used the latest version of DA?

I updated to latest release and applied your fix.
Now it work, thanks.