>Ed,
>
>Thanks. I have not gotten the error since I did what you suggested. That makes a lot more sense than the way I was doing it. Based upon that solution I think I had better check my other apps and see if they could use that same treatment. It sure is nice using 2 lines of code to do what used to take many, many lines of code. Thanks again and Happy New Year!
If you are still curious as to what was causing the error, I might add that the most likely culprit was the rowsource of a listbox. Listboxes don't like having their rowsources closed before they are destroyed.
Erik Moore
Clientelligence