Training
Certification
Microsoft Office Specialist: Access (Office 2016) - Certifications
Demonstrate that you have the skills needed to get the most out of Access 2016 by earning a Microsoft Office Specialist (MOS) certification.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to: Access 2013, Office 2013
Indicates the data source for a Recordset object.
Sets a String value or Command object reference; returns only a String value that indicates the source of the Recordset.
Use the Source property to specify a data source for a Recordset object using one of the following: a Command object variable, an SQL statement, a stored procedure, or a table name.
If you set the Source property to a Command object, the ActiveConnection property of the Recordset object will inherit the value of the ActiveConnection property for the specified Command object. However, reading the Source property does not return a Command object; instead, it returns the CommandText property of the Command object to which you set the Source property.
If the Source property is an SQL statement, a stored procedure, or a table name, you can optimize performance by passing the appropriate Options argument with the Open method call.
The Source property is read/write for closed Recordset objects and read-only for open Recordset objects.
Training
Certification
Microsoft Office Specialist: Access (Office 2016) - Certifications
Demonstrate that you have the skills needed to get the most out of Access 2016 by earning a Microsoft Office Specialist (MOS) certification.
Documentation
Office developer client VBA reference documentation
Office developer client VBA reference documentation
Office developer client VBA reference documentation