Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot Access Selected Table Error
Message
De
28/03/2000 12:04:40
Ed Gay
Computer Software Consultants
Bangor, Maine, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00351373
Message ID:
00351444
Vues:
24
>>Here's more pieces to the puzzle. If I remark out the code that does the pre-selection form I receive no error. The only thing that is on the pre-selection form is a list that is created with a SQL statement. I don't use any other tables or any variables from the cursor that I will be adding records to. The table that I'm using for the SQL is not part of the dataenvironment.
>
>OK Ed now you got me a little confused. Tell me again what form classes your using (you referred to 'manualinputform' class earlier and I'm not which framework class you mean). Plus how does one form trigger the other?
>
>Couple of guesses here - Any chance the SQL statement on this pre-selection form uses the same table your later trying to update? If so maybe the SQL statement leaves the table opened exclusive then the second form is launching in it's own data session? If the two forms do use different data sessions, tables needed for both forms could be your problem maybe.

Sorry I was not more accurate, the form that based upon the cBizObjForm, on page two I put a cListObjectEdit container. The add button was modified to first call the pre-selection form then based upon the return from the form to then do the ceditform. First I set the ceditform value to the name of the pre-selection form then dodefault() I save the returned value change the ceditform based upon the value returned and then dodefault() again. Everything is ok until I do the second dodefault() that is when I get the error. If I cancel the add, then click on add again I do not receive the error.
I hope this is a better explanation but I'm not sure.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform