| | Product Information Help and How-to Training Templates Support and Feedback Technical Resources Additional Resources | Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.
Add a field to a form, report, or data access page
- Open a form, report, or data access page (data access page: A Web page, published from Access, that has a connection to a database. In a data access page, you can view, add to, edit, and manipulate the data stored in the database. A page can also include data from other sources, such as Excel.) in Design view (Design view: A window that shows the design of these database objects: tables, queries, forms, reports, macros, and data access pages. In Design view, you can create new database objects and modify the design of existing ones.).
- Display the field list (field list: A window that lists all the fields in the underlying record source or database object, except in data access page Design view. In data access page Design view, it lists all the record sources and their fields in the underlying database.) by clicking Field List
on the toolbar.
- To select the field or fields that will serve as the basis for the control (control: A graphical user interface object, such as a text box, check box, scroll bar, or command button, that lets users control the program. You use controls to display data or choices, perform an action, or make the user interface easier to read.), do one of the following:
Tip
In a data access page, to quickly create one control that is based on a field, double-click that field in the field list.
- Do one of the following:
- Drag the field or fields from the field list to the form, report, or data access page.
- Drag the table or query from the field list to the data access page. In the Layout Wizard dialog box, click the layout that you want to use.
Note You must drag the field or fields, the table, or the query from the field list. If you click the item in the field list and then click the form, report, or data access page, Microsoft Access won't create the control or controls. Access places one text box on the form, report, or data access page for each field that you select in the field list. If you select a table or query in the data access page field list and then select Columnar or Tabular in the Layout Wizard, Access places a text box for each field in the table or query on the data access page. Each text box is bound to one field in the underlying data source.
- Place the upper-left corner of the icon where you want the upper-left corner of the main control (not its label) to be, and release the mouse button.
Note Access creates the appropriate control for the field and sets certain properties, based on the field's data type. To specify the type of control you want to use, click the appropriate control tool in the toolbox before dragging the field from the field list.
|