>>>>I'm working in vfp 6.0. We have a screen with the next futures:
>>>>- tables are #5 optimistic table buffering
>>>>- formset is buffermode 2 optimistic
>>>>- data session is 2 private
>>>>- readlock is false
>>>>
>>>>When we open this form at the same time the program coudn't load the formset. And the message is: ERROR LOADING FILE ..... FILE ACCES IS DENIED.
>>>>
>>>>I hope some one can help me with this problem.
>>>>
>>>>Thijs
>>>
>>>Make sure you SET EXCLUSIVE OFF. This is scoped to a private datasession.
>>
>>Exclusive is off. It looks like it is gong wrong before he opens the form so I think that is is really strange.
>
>Do you SET EXCLUSIVE OFF in the form? You'll need to put the code in the BeforeOpenTables event of the DataEnvironment.
Craig,
1. create empty form and add a table to its DE, set datasession to private.
2. add a grid to this form and set this table as recordsource for this grid
3. run multiple instances of those forms from command window
4. note that you can edit freely data in all forms, without errors.
For this reason I think that set exclusive off is not required.
Andrus