Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Attempting to lock a form
Message
De
11/10/1999 13:32:52
 
 
À
08/10/1999 17:26:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00273479
Message ID:
00275012
Vues:
35
>>Sylvain,
>>
>>I am out of the office at a conference now so I can't test what you have said. I have SET EXCLUSIVE OFF where I set up the application environment before I load any forms. I shouldn't need to do it again should I?
>>
>>
>>>Try inserting this line in the DataEnvironment BeforeOpenTables() event:
>>>
>>>SET EXCLUSIVE OFF
>>>
>>>HTH
>Thanks for the reply Sylvain. The offending form has nothing in the Load() event. In the dataenvironment I have 12 tables, no methods, and AutoOpenTable and AutoCloseTable is set to .t.
>
>If your forms use Private Datasessions, then yes, you'll need to do it in the Load method of each form. It's best if you put that in your base-class form's Load method.

Fred,

I didn't realise but I do have SET EXCLUSIVE OFF in my base-class form's load method, and yet I am still getting this same error. I use default data sessions as well. I am now getting a bit frustrated with this problem. Any more ideas would be greatly appreciated.

Thanks, Peter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform