Damfino Evan......maybe you should try more traditional means to set the path, such as using SET PATH within BeforeOpenTables.
>Record 10 of the form is
>
>class: form
>baseclass: form
>objname: form1
>... etc...
>
>>What is record 10 in the SCX metadata file?
>>
>>>I am having a problem in VFP3 resetting the paths to the database and tables in the dataenvironment of a form. I use the following command in the "beforeopentables" method of the forms dataenvironment.
>>>
>>>thisform.setall("database",gcAppPath+"\database\library.dbc","cursor")
>>>
>>>When the form is run, I get the following:
>>>"Error loading file - Loading form or the data environment - record number 10. File access denied."
>>>
>>>Any ideas?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05