>Thanks for the response, but the form datasession property *is* set to "private datasession"
>
>>>As anybody got this weird problem: when opening a form (via a DO FORM or
>>>MODIFY FORM), if the database is open, VFP generate a "File access
>>>denied" error and won't load the form.
>>>
>>>The only solution I found, is to remove the database from the project,
>>>pack the project and add the database again.
>>>
>>>I searched the KB without any success.
>>>never had this problem while loading a form, had it with grids when "allow new records = T, but try loading the form with the forms datasession property set to "private datasession" may work
Sylvain, is this repeatable? Have you checked for other datasessions which might have the table open and locked? Have you tried exiting VFP and re-loading it?
Hope this gives you some ideas. If they've been mentioned, I'm sorry to waste your time.
Barbara