Article ID: 148917
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft Foundation Class Library 4.2, when used with:
- Microsoft Visual C++ 4.0 Standard Edition
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.
Additional query words: kbinf 4.00
Keywords: kbdatabase KB148917