|
-
April 25th, 2004, 09:27 AM
#8
yes, you may use "database view with file support " or other styles. But no matter what you use, you should create a CDatabase object before you use your database file. If you have registered a database source file in ODBC Data Source Administrator, you may open the database as below:
CString szConnect = _T("DSN=MyDataSource");
if(!m_dbCD.OpenEx(szConnect), CDatabase::noOdbcDialog)
return FALSE;
but you can also manage your database file without a data source file. an example has been in my last thread.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|