Can anyone shed some light on my "Cannot access selected table error"? I am trying to run a form, click a button to run some code, and after it finishes open another form. I can't seem to trap the error. I step through the code and it goes through opening the form and runs the code in the Init Method and right when it hits the Refresh command and goes to the Read Events command, it gets this "Cannot access selected table" error which I assume is from the form that I am opening. After I click okay, it seems to work the way it is supposed to. And if I run the code slightly differently, I don't get the error. Even though it should be doing the exact same routine because I close all the tables before I run the code either way. Below is the code that I have in my startup form.
ThisForm.Release
CLOSE tables
do main
DO FORM working
ThisForm.Release
CLOSE tables
do main
DO FORM working