Re: import procedure executes in internal loop
Aldevinas Katkus
10-9-19
It looks like the problem was that I haven't read all import lines:

global
updating procedure SomeImportIn()
begin

if WrongSettings then begin goto LWhile; end;
while (TestEOF==false) begin
....
if (NextImportLine(false)) then begin end;
end;//while
LWhile:;
//adding these lines avoids eternal calling of SomeImportIn()
while (TestEOF==false) begin
if (NextImportLine(false)) then begin end;
end;//while

end;
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Piotr Wycichowski
Thanks Gatis, anyway it seems to be reported as bug instead of wish because now it depends on who created task for whom, am I right? /Piotr W....
14:39 15 May 2024
Aldevinas Katkus
Actually a new version of this bug is SL>>Reports>>Periodic customer statement "accumulates" amounts Not sure why it was duplicated, I clicked "submit"only once....
08:09 10 May 2024