>Sorry, Naomi, I couldn't make much headway.
>
>I have fixed messageboxes at different points of this code. Messagebox 2 does not fire. Here is the code, which I was trying to avoid sending, since it was so long...!
>
<snip>
Why would you need to do selects inside scan? And why do you have so many public variables? We just discussed it on the other forum...
Sorry this is from the first glance, instead of messageboxes you may add
filetostr('Started Scan', 'Monitor.txt',1)
filetostr('Run ' + transform(m.lnI) + ' Select statement'', 'Monitor.txt',1)
etc. to see what you're doing.
BTW, why do you declare PUBLIC variable inside SCAN? Read your code carefully and make changes.
If it's not broken, fix it until it is.
My Blog