Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot access the selected table
Message
From
10/08/1999 16:17:31
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
 
 
To
10/08/1999 15:59:56
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00252098
Message ID:
00252199
Views:
12
Susan,
I'm saying if the RowSource is based on a table, and the table is closed before the UnLoad of the Form, that is too early.

Try this just to see what's going on:
Can you remove the combo to ensure that it is in fact the offending control?
If you still get the Access Error, then I'm being no help. But if it goes away, we are on the right item.

In the Destroy() of the combo, test to see if the RowSource is closed.
SET STEP ON
SET && Open the Data Session Window and see if the cursor is alive.
It still should be. If it isn't try to find out where it's being closed.
Charlie

>How can I determine if the combobox looses its rowsource before it's released?
>
>I have since added a release all before the clear all, but it did not help, but the release all did not blow up on me.
>
>>I've had it happen when a CombBox looses its RowSource before it's released. Is there a ComboBox on a form, and does its RowSource get closed prior to the UnLoad() of the form?
>>
Charlie
Previous
Reply
Map
View

Click here to load this message in the networking platform