In my application I have data session set to the default and
AutoOpen and AutoClose are set to True in the data environment.
I only allow one form to be open at a time. In my menu I go to a
routine
to check the form that is open and close it before I return and open the
new form.
Im having a problem with one form which has a grid with over a hundred
columns in the grid. If I open the grid form and then from the menu
open another
form that uses the same table, I get an error Cannot Access The
Selected Table.
It acts as if the form did not completely close and close all of the
tables before the
new form tries to open. If I close the form with the close button in
the toolbar, it works ok.
I think this is because enough time has gone by between the click of the
close button and
the selection from the menu of the new form.
How can I be sure the old form is completely closed before I open the
new form?
TIA,
Ron
*********************
Ronald W. Roberts
Roberts Communication
___
( )
\\\|/// ____|___|
\\ - - // / \
---o00o-(_)-o00o--o00o---U---o00o----
KEEP SMILING
it makes people wonder
what you've been up to