GRFS2000 Posted August 9, 2017 Share Posted August 9, 2017 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; Quote Link to comment Share on other sites More sharing options...
GRFS2000 Posted August 10, 2017 Author Share Posted August 10, 2017 After a few tests and adjustments it seems to work, but I noticed that any errors that happen during insert ai affect Synchronize. Quote Link to comment Share on other sites More sharing options...
asapltda Posted December 29, 2020 Share Posted December 29, 2020 Good morning, please you can place the improved version of the program, thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.