See Also
Applies To
Data control.
Description
Specifies the underlying table, SQL statement Read/write at both design time and run time.
Syntax
[form.]datactrl.RecordSource [ = { tablename | sqlstatement | queryname}]
Remarks
The RecordSource property specifies the source of the records accessible through bound controls After changing the value of this property at run time, you must use the Refresh method to enable the change.
Note Make sure each bound control has a valid setting for its DataField property. If you change the setting of a data control's RecordSource property, when you use Refresh, the Recordset then identifies the new object. This may invalidate the DataField settings of bound controls.
Data Type
String