The information in this article applies to:
SUMMARY
The DataEnvironment greatly simplifies the process of building queries at design-time. The DataEnvironment requires a connection string at design-time in order to connect to your database. That same connection string is used, by default, in your application. MORE INFORMATION
For example, you may be using an Access database in your application. The DataEnvironment will store the full path to your Access database in the connection string. When you distribute your application, you may want to place the Access database in a subdirectory of your application. You could use the following code in the DataEnvironment's Initialize event to modify the connection string accordingly:
© Microsoft Corporation 1999, All Rights Reserved. Additional query words:
Keywords : kbDatabase kbVBp600 kbDataEnv |
Last Reviewed: March 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |