How To Ensure Form Uses Tables from Correct .dbc File Location (160916)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q160916 SUMMARY
If you create a form and add tables to its DataEnvironment from a .dbc file
in a certain directory, and you move the form and directory structure, you
may find that it will continue to access the .dbc file in the original
directory. If you wish to ensure that a form with tables in its Data
Environment uses tables from a specific location (that is, from a specific
.dbc file or files), specify the path to the .dbc file for each cursor
object in the BeforeOpenTables event method code of the form's
DataEnvironment object.
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbDesigner kbhowto KB160916 |
---|
|