Illustrated Access 2016 | Module 7: SAM Project 1a
Instructor Explanation: In Access you can start a blank form and then build the
contents from scratch instead of specifying the data source at the start of creating the
form. The Record Source property sets the source of the data for the form.
If you want to create a data entry form for the Countries table, you would
specify Products as the Record Source. This means that if you add a new record in the
form, it will insert a record into the Products table. If you modified a record within this
form, the data in the Products table would also be modified.
This activity has you open a blank form and make a connection to a table.
Here’s How:
In the Forms section of the Navigation Pane, right-click Countries and select
Design View
On the Design Ribbon, Tools Group, click the Property Sheet Button
On the “All” tab, click the drop-down arrow to the right of Record Source and
select Countries as the data source
Close the Property Sheet task pane
Click the X Close Button and answer Yes to saving
2. Open the DiveTripEntry form in Design View, then open the Field List. Add all
fields from the DiveTrips table to the form. Select all controls in the form and
move them to the approximate location shown in Figure 1 on the next page.
Save the form and close it.
Instructor Explanation: The form you will work with next already has a record source
defined, but no fields were added when the form was created. You will add fields to the
form.
Here’s How:
In the Forms section of the Navigation Pane, right-click DiveTripEntry and
select Design View
On the Design Ribbon, Tools Group, click the Add Existing Fields Button
In the Add Existing Fields task pane, click one time on the ID field to select
the field
Hold the Shift key and click one time on the Trip Report Button to select all
fields
Position the mouse pointer inside the selection and drag to position the tip of
the pointer just under the detail header bar at about the 1.5” mark in the grid
Compare to Figure 1
Close the Field List Task Pane
Click the X Close Button and answer Yes to saving