Professional Documents
Culture Documents
Villarazo
BSMA 2
In a database context, a form is a window or screen that contains numerous fields, or spaces
to enter data. Each field holds a field label so that any user who views the form gets an idea of
its contents. A form is more user friendly than generating queries to create tables and insert data
into field.
https://www.techopedia.com/definition/4661/form-databases
A. List box
1. Double-click the Supplier A form.
2. Click View and then click Design View. Move the First Purchase label and field
to a location under the Fax label and field.
3. Right-click the Country text box control; then click Change To and click List
Box, as shown in Figure 12.6.
1. Double-click Supplier B.
2. Click View and then click Design View.
3. Right-click the State or Province text box control; then click Change To and
click Combo Box.
4. Increase the size of the State or Province combo box control and related label
slightly.
5. Right-click the State or Province combo box control and then click Properties.
6. Click the Data tab.
7. Click Value List from the Row Source Type drop-down list.
8. Type CA;NY;MA;NJ in the Row Source section. The Properties Sheet should
look like Figure 12.10.
9. Close the Properties window.
1. You can quickly create a check box by dragging a Yes/No field from the Field List pane
to the form or report.
2. Open the form or report in Layout view or Design view by right-clicking it in the Navigation
Panel, and then clicking the view you want on the shortcut menu.
3. If the Field List pane is not already displayed, press ALT+F8 to display it.. Expand the table
lists, if needed by clicking the plus signs (+) next to the table names.
4. Drag the Yes/No field from the Field List pane to the form or report.
Depending on the setting of the field's Display Control property, a check box, a text box, or a
combo box is created and bound to the field. When you create a new Yes/No field in a table, the
default setting of the field's Display Control property is Check Box.
If you want, you can change the check box control to an option button or a toggle button. To do
this, right-click the check box, point to Change To on the shortcut menu, and then click Toggle
Button
https://support.office.com/en-us/article/add-a-check-box-control-to-show-yes-no-
values-4fa55fff-b3a0-4d03-a7a6-a2cfe4d03d4c
Step 1
Under the form design tool, click on the Sub form icon and paste it on the Form Detail
section.#
Step 2
Step 3
Select Table: tbl_Customer and insert all fields from the Available Fields box to the
Selected Fields box by clicking on double arrow (>>) or you can insert only some fields you
need by clicking that field and click single arrow (>). Click Next> button for next step.
Step 4
Name the sub form or keep the name same as the table name of the data table. Then click
Finish button.
Step 5
Delete the label name of the sub form appears on the top of
Step 6
Right hand click on Form1 title and select Form View. The datasheet of sub form will
show like the picture below.
http://www.iaccessworld.com/how-to-create-subform/