You are on page 1of 5

Shaina Rosewell M.

Villarazo

BSMA 2

1. What are forms?

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

2. How to convert textbox to:

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.

4. Right-click the Country list box control; then click Properties.


5. In the Property Sheet for List Box: Country, click the Data tab, click Value List
in the Row Source Type section, and then type USA; CAN; UK in the Row
Source (see Figure 12.7).
6. Close the Property Sheet window. The form should now look like Figure 12.8.

7. Click View and then click Form View.


8. Enter a new supplier by clicking on the New (blank) record button located at
the bottom of the form and then typing the information provided in Figure 12.9.
Observe that, in order to specify the country for this new supplier, all you had to
do was click CAN.
9. Click File, Save As, Save Object As, and Save As to save this new object.
10. Type Supplier B as the name of the new form and then click OK.
11. Click the Home tab and then close the form.
B. Combo

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.

Access for Accounting Part 2(2013)

3. Create a bound check box, option button, or toggle button

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

4. What are special combo

Use of a combo box control would be to give the user a


choice of options that change as a function of other changes that may occur in
the database. For instance, let’s say you want to give the user the option of
selecting a specific supplier for each product but that you want the list to be
dynamic, not static. In other words, you’d like the user’s available choices to be
limited to those suppliers currently in your Supplier table. Thus, when you add
a supplier the list expands and, of course, when you delete a supplier the list
contracts.

(Source: BookTitle: Access for Accounting Part 2)

5. How to Create Sub form

 Step 1

 Under the form design tool, click on the Sub form icon and paste it on the Form Detail
section.#

 Step 2 

  Select “Use existing Tables and Queries” then click Next>

 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/

You might also like