ON ERROR ON SHUTDOWN CLOSE ALL CLEAR ALL =SYS(3056) && re-read registry CLEAR PROGRAM SET CLASSLIB TO SET PROCEDURE TO SET LIBRARY TO CLOSE DATABASE ALL CLEAR ALL RELEASE ALL EXTENDED CLEAR DLLS CLEAR MEMORY CLEAR RESOURCES =SYS(1104) && purge memory buffer ON ESCAPEAfter monkeying around, I found that the problem seemed to go away at the CLEAR RESOURCES statement, but doing a CLEAR RESOURCES alone did not fix it. It worked only in conjunstion with some of the other prior.