|
Creating A Data Entry Form With A Subform
From NeoWiki
(Difference between revisions)
Revision as of 02:26, 14 September 2007
This article is part of the To Base and Back Again tutorial series.
The data entry form the birder will use on return from a field trip must allow for data entry into two different tables: The Field Trips table and the Sightings Table. For every record in the Field Trips table, there will be multiple entries in the Sightings table. So we need to create a form based on the Field Trips table with a sub-form based on the Sightings table.
- Open the database document
- Click on the Forms icon in the left column of the main database document window
- In the Tasks section, click on Use Wizard to Create Form...
- In the Tables or Queries drop-down, choose Table: Field Trips
- Click on the >> button to move all the field over
- Use the up or down arrow buttons to change the field order if need be
- Click Next>
- Check the Add Subform checkbox
- Click in the Subform based on existing relation radio button
- Select Sightings in the box next to the question Which relation do you want to use?
- Click Next>
- Note that the correct table is chosen in the drop-down
- Click the >> Button to move all the fields over
- Use the up or down arrow buttons to change the field order if need be
- Click Next>
- Choose the Arrangement of the main form I chose the option furthest to the right, labeled In Blocks-Labels Above
- Choose the Arrangement of the subform I reccommend the third option, labeled As Data Sheet
- Click Next>
- Set the Data Entry Mode. I set it for This form is to display all data and left all the boxes unchecked.
- Click Next>
- Select the background color and style you want.
- Click Next>
- Enter the name of the form, and decide if you want to work with it (i.e. enter data) or modify it (i.e. edit the layout).
- Click Finish