Summary of operations on the ACCESS database and summary of the access Database

Source: Internet
Author: User

Summary of operations on the ACCESS database and summary of the access Database

I

CDaoRecordset is DAO and CRecordset is ODBC,

VC ++ 6.0 provides some programming interfaces. There are five main types:
1. odbc api;
2. mfc odbc class;
3. mfc dao class; (Data Access Object)
4. OLE/DB of MFC;

5. ActiveX Data Object (ADO ).

II

Rs. GetFieldValue (0co1); different from rs. GetFieldValue (short) 0, co1;

Because the following functions are overload functions:

Void GetFieldValue (LPCTSTR lpszName, CString & strValue );
Void GetFieldValue (short nIndex, CString & strValue );

3. In access, the condition for like fuzzy query is a like '23 * ', while in the program, a like '000000' is required, that is, the standard SQL syntax.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.