-
ODBC Local Data source?
I'm using ODBC because I know the API, but I dont need it's network/server related features because it will only be used on a single PC at once. Because of this it would be much more convenient to have the data source specified locally, e.g database.mdb in the current directory, to avoid setting the data source up through control panel, how do I do this?
Any help is appreciated
Btw the app is an MDI in MFC using VC++6.0 Enterprise with an Access 2002 database
-
Greetings,
You might want to take a look at Code Guru. Several links in there regarding database and ODBC, including a couple ways of dinamically creating a DSN, wich is what you want, i think.