Page 1 of 1

foundset.deleteAllRecords() hanging

PostPosted: Mon Feb 08, 2021 1:42 pm
by roddy
At a point in my project, when I call foundset.deleteAllRecords() the program returns control to the form but the code seems to be executing in the background but still allows me to continue with the form; if I continue on then eventually I get an exception.

When stepping through the debugger, stepping over the line causes the program to go back to a running state; if I try and stop the program running, it still continues in the browser. Restarting the program eventually causes an exception to appear in the console.

Is very tricky to know what to do with this; is there something to be aware of when calling deleteAllRecords()?