Georges Soares Posted August 9, 2017 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
Georges Soares Posted August 10, 2017 Author 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
asapltda Posted December 29, 2020 Posted December 29, 2020 Good morning, please you can place the improved version of the program, thanks Quote
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.