Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot access the selected table
Message
De
10/08/1999 16:17:31
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
 
À
10/08/1999 15:59:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00252098
Message ID:
00252199
Vues:
11
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform