How to Use the DAO Dynaset with Microsoft SQL Server 6.0 (148917)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++, 32-bit Editions 4.0
This article was previously published under Q148917 SUMMARY
You can use CDaoRecordset to insert, update, or delete records in a table
in a Microsoft SQL Server 6.0 database. There are two ways to do it: - Use a direct ODBC connection in CDaoDatabase::Open(). In this case,
there must be a unique index on one of the fields in the recordset. If
there is no such index, the recordset will become read only.
-or-
- Use a linked table through a Microsoft Access 7.0 database. You must
have a unique index on one of the fields in the recordset. Microsoft
Access asks for a unique identifier while creating the linked table if
the table does not have a unique index. If you do not specify a field as
the unique identifier and there is no unique index, the recordset will
become read only.
Modification Type: | Major | Last Reviewed: | 10/24/2003 |
---|
Keywords: | kbDatabase KB148917 |
---|
|