About creating controls

About bound, unbound, and calculated controls

Bound, unbound, and calculated controls

1  These bound controls get their data from the ProductName and UnitPrice fields in the Products table.

2  This calculated control uses the following expression as its data source: =[UnitPrice]*.75. You specify the expression in the ControlSource property box.

3  Unbound controls such as this rectangle and freestanding label don't have data sources.

About ways to create controls

In a form or report that is based on a record source, or in a data access page that is connected to a database, you can create a control by dragging a field from the field list. Microsoft Access creates the appropriate control for the field and sets certain properties, based on the field's data type.

If you want to specify the type of control you want, you can create the control by clicking the appropriate control tool in the toolbox. Then you can specify the properties of the control yourself, or you can use a wizard to create the control.

On forms and reports, you can use wizards to create command buttons, list boxes, subforms, combo boxes, and option groups. On data access pages, you can use wizards to create list boxes and drop-down list boxes. Wizards are not available in a stand-alone data access page, or  in a data access page that is connected to a database other than the one currently open.