How to: Bind Data to Existing Controls
You can drag items from theonto existing controls (controls already on a form) at any time during the development process to bind the control to data. When you drag an item from the Data Sources window onto a control, the control is then bound to that data. A control that is already bound to data has its data bindings reset to the item most recently dragged onto it.
To be valid drop targets, controls must be capable of displaying the underlying data type of the item dragged onto it from the Data Sources window. For example, it is not valid to drag an item that has a data type ofonto a , because the CheckBox is not capable of displaying a date.
The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see.
To bind an existing control to data in a data source
Open the form in the.
Expand a table or object in the Data Sources window to display its individual columns or properties.
To open the Data Sources window, click Show Data Sources on the Data menu. For more information, see.
Drag the desired item from the Data Sources window onto an existing control.
The control is now bound to that selected item.