Why does executing UniSession.Synchronize () cause error in procedure below?
For example if the XTelephone contains 1000 registers, the loop passes from 1000 and continues execution without end
while not XTelefone.eof do
begin
inc(vCommit);
HideMask;
ShowMask('Importando Telefone: ' + vCommit.ToString + ' de ' + XTelefone.RecordCount.ToString);
UniSession.Synchronize();
Tabela.append;
...
Tabela.Post;
XTelefone.Next;
end;