import procedure executes in internal loop
Aldevinas Katkus
10-9-19
I have a problem with 8.5 2019-09-15 (build 85321027). In 8.4 this import used to crash when I execute it second or third time in a row without restarting the SERP executable.
I was advised to remove parameters (record RcVc RepSpec) from the import procedure. This did not help in 8.5: I have added a StopAlert and noticed the import procdure is being run in an endless loop. Any ideas why this happens?

global
updating procedure SomeImportIn()
begin
...

transaction longint tCount;
tCount=tCount+1;
StopAlert("executing SomeImportIn " & tCount);

while (TestEOF==false) begin
....
if (NextImportLine(false)) then begin end;
end;//while

end;

I can see alerts on the screen like
executing SomeImportIn 0
...
executing SomeImportIn 999
executing SomeImportIn 1000

So this means the import is being executed in an eternal loop. Why?
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
Carolina Valentino
are the activity set as Hansamanuals said? https://www.hansamanuals.com/main/mailnumber___62526/theconf___231/manuals/version___20250224/langcode___es/hwconvindex.htm?shortcode=HW0301SETTINGS_Order...
17:20 4 Apr 2025
Paul Timms
SendWebRequest3 is a boolean function, so if this returns true and the reply header has an accepted status, you can assume that the data was sent successfully and perform some actions on the record th...
11:12 4 Apr 2025