General information
Category:
Forms & Form designer
Title:
Resetting table paths at runtime with setall
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?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only