You are on page 1of 3

Answers to Questions on page 2 of the Tutorial #5

Questions:

1. What are the column widths?

 The width of the columns (fields) displayed in


the combo box.

2. Why is it Unbound? What is the Control


Source of a Type III combo box?

 Because the Type III combo box is used for


searching a record on the form, it will not
store the selected value in a field. That’s why
the control source is blank.

3. What is Row Source?

 It specifies the data source for the combo box,


i.e. records to be displayed in the combo box.
This is usually a query generated by Access
when the combo box is created.

4. Why do we need to include MemberNo (key column) in the combo box?

 It is because the customer’s Last Name may be duplicated and the Type III combo box will
always display the 1st record with the same last name. That’s why we need to include
MemberNo (primary key) which is unique. However, this key column is hidden because the
MemberNo is an AutoNumber and may be meaningless to users.

Answers to Questions on page 3 of the Tutorial #5

5. Which key column should be included in the combo box? Why?

 VideoNo should be included as the 1st column. This is the primary key of the Video Table.

6. How to hide the key column?

 You can simply adjust the column width when the combo box is created or set the column
width property to 0.
Answers to Questions on page 6 of the Tutorial #5

7. What is the Control Source of this combo box?

 CustType
(i.e. the value selected will be
stored in this field.)

8. What is the Row Source of this combo box?

 the value that you entered


when you created the combo box

9. What is the Row Source Type?

 Value List
(i.e. Type 2 combo box)

Answers to Questions on page 8 of the Tutorial #5

10. What are the Record Sources of the main form and the two subforms created above?

 The record source specifies the data source of each form, i.e. what records will be displayed
on the form.

Movie Main Form Video Subform Rental Subform


(frmVideoRentalMain) (frmVideoRentalSub1) (frmVideoRentalSub2)

11. What are the differences between this method (i.e. creating forms directly from tables) and
the method you learnt earlier (i.e. creating forms from queries)?

 The record source will either be a table or query. If the fields selected for the form are from
multiple tables, Access will generated a query for you automatically. However, this query is
only “attached” to the record source, i.e. behind the form. It has no query name and will not be
shown on the Access Objects List.
Answers to Questions on page 9 of the Tutorial #5

1. Do we want to have a Delete button in the Main Form?

 No, it is because the records displayed on the Movie Main Form are from both Movie and
Video tables. In other words, deleting a video record in the main form may ‘accidentally’ delete
the movie record. Therefore, a “Delete” button should be added to the Video Form, which
displays one video record at a time, in order to allow users to delete a specific video record.

2. How to create a command button to Save a record in the Subform?

 A “Save record” button should be added to the Details section of the subform in the form
design view.

- End of document -

You might also like