ADO for Visual C++ syntax index for COM
Applies to: Access 2013 | Access 2016
This index is a cross-reference to the ADO Language Reference based on Microsoft Visual C++.
If you use the #import directive in your application, a header file will be generated that will enable you to use syntax similar to Microsoft Visual Basic. Property names of the form get_ PropertyName and put_ PropertyName can be treated as if they were declared simply as PropertyName. A property can then be treated like a data member instead of a function.
All of the methods, properties, and events are functions that return an HRESULT, which you can test to determine if the function executed successfully.
Method and property syntax in Visual C++ is listed for the following elements:
- Collections
- Command object
- Connection object
- Error object
- Field object
- Parameter object
- Record object
- Recordset object
- Stream object
See also
- Access for developers forum
- Access help on support.office.com
- Access help on answers.microsoft.com
- Access forums on UtterAccess
- Access developer and VBA programming help center (FMS)
- Access posts on StackOverflow
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.