Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resetting table paths at runtime with setall
Message
From
04/01/1999 00:07:35
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00171214
Message ID:
00172318
Views:
23
>>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."
>
>Does anyone have any ideas on this one? Or better yet how does everyone else reset the cursor paths in the DE?


Evan,

Does your form use the data environment to load the tables ???

If it does, that could very well be the source of your problem.

Regards,

Jason
Jason Tryon
Senior Systems Analyst / Technical Lead
eBusiness / iPage
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform