0% found this document useful (0 votes)
3 views21 pages

More About Forms

The document provides instructions for adding fields to forms in a database, including how to incorporate fields from different tables. It also explains the creation and use of combo boxes to limit user input and ensure data consistency. The final section encourages students to apply their learning to a practical database project.

Uploaded by

jonae.jumpp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views21 pages

More About Forms

The document provides instructions for adding fields to forms in a database, including how to incorporate fields from different tables. It also explains the creation and use of combo boxes to limit user input and ensure data consistency. The final section encourages students to apply their learning to a practical database project.

Uploaded by

jonae.jumpp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

Information Technology

Grade 11
Topic: Database Management

Specific Objectives

Students should be able to:

• Manipulate data in a database

Prepared by Ms. A. Cole


Adding additional fields to a form

• When you use the Form command on an existing table, all of the fields

from the table are included in the form. However, if you later add

additional fields to the table, these fields will not automatically show up

in existing forms. In situations like this, you can add additional fields to a

form.
To add a field to a form:

1 Select the Design tab, then locate the Tools group on the

right side of the Ribbon.

Click the Add Existing


2
Fields command.
3 The Field List pane will appear.

Double-click the desired field(s).

4 The field will be added


To add a field from a different table:

You can also add fields from different tables in your

database to the form..


Select the Design tab, then locate the Tools group on the
1
right side of the Ribbon.

Click the Add Existing


2
Fields command.
3 From the Field List pane, click Show

ALL Tables

4 Click the plus sign + next to

the table that contains the field

you want to add, then double-

click the desired field. The new

field will be added.


Adding design controls:

Design controls set restrictions on the fields in your forms. This helps you better control how

the data is entered into your forms, which in turn helps keep the database consistent.

Combo boxes

• A combo box is a drop-down list you can use in your form in place of a field. Combo boxes limit the information users

can enter by forcing them to select only the options you have specified.

• Combo boxes are useful for fields that have a limited number of possible valid responses. For instance, you might use a

combo box to make sure people only choose products that already exist in your database while placing an order.
To create a combo box:

1 In Form Layout view, select the Design tab, then locate the

Controls group..

2 Select the Combo Box command,

which looks like a drop-down list


Select the desired location for the combo box. A line will appear to indicate the
3
location where your combo box will be created. In our example, we'll place it

between the City field and the Add to Mailing List? fields.
The Combo Box Wizard dialog box will appear. Select I will type in the values that I want, then
4
click Next.
Type the choices you want to appear in your drop-down list. Each choice should be on its own row.
5
In our example, users will be able to select one of three choices from our finished combo box: No,

Yes - Weekly, and Yes - Special Events and Offers.

NB. If necessary, resize the column so all of your text is visible. Once you are

satisfied with your list, click Next.


Select Store that value in this field, then click the drop-down arrow and select the field
6
where you want selections from your combo box to be recorded. After making your selection,

click Next.
Enter the label—or name—that will appear next to your combo box.
7
Generally, it's a good idea to use the name of the field you chose in the

previous step.
Click Finish. Your combo box will appear on the form. If you created your combo box to replace an
8
existing field, you should delete the first field.

In our example, you might notice that we now have two fields with the same name. These two fields

send information to the same place, so we don't need them both. We'll delete the one without the

combo box.
Switch to Form view to test your combo box. Simply click the drop-down arrow and verify that the
9
list contains the correct choices. The combo box can now be used to enter data.
If you want to include a drop-down list with a long list of options and don't want to type all of
NB
them out, create a combo box and choose the first option in the Combo Box Wizard: I want the
combo box to get the values from another table or query. This will allow you to create a drop-
down list from a table field.
Challenge yourself!!

Apply what you have learnt to your forms created in Bookshop database.
Manipulate data in a database (Queries)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy