Assignment 9 for Intro
Download a copy of the Portal Database and create a basic data entry form for the species table. Since we would only use this form to add new species to the table, do not include the OldCode field in the form. Also, New Code isn't very clear for someone entering data, so change the label on this field to Species Code. Save this form as Species Table Data Entry.
Create a basic data entry form for the Portal Main table. Since the recordID field will automatically add a new number, don't include it in the form.
Use this form to enter the new data for the following individual:
This is a follow up to the Forms 2 problem.
Modify your basic data entry form to prevent bad data values from being entered into your database. You'll doing this using the Data tab on the Property Sheet in the Design View. The following rules should apply:
- Months should be numbers from 1-12
- Days should be numbers from 1-31
- Years should be numbers from 2011-2020 (older data is possible, but this form is form entering new data)
- Plots should be numbers from 1-24
- Stakes should be numbers from 11 to 77
- Species should be selected from a drop down list (called a combo box in Access) that includes only the species IDs that are present in the New Code field of the Species table. If the Species table is updated the new values should automatically appear in the combo box.
- Sex should be M or F
- Age should be J or nothing
- Hind Foot Length should be a number between 1 and 70
- Weight should be a number between 1 and 350
Create a report that asks the user what year they want the report for and then returns the number of individuals of each rodent species captured in each month of that year (grouped by month so that the report shows the counts for January, then the counts for February, etc.). This is the kind of report that might be provided to a government agency as a condition of conducting the research.
Some specifics:
- The report should have a title that describes what is being reported and includes the year of the report
- Months should be reported using their names, not the numbers 1-12, and should be sorted chronologically. You will need to add a Months table to the database to accomplish this.
- Scientific names should be reported, not species iDs
- All titles/labels should be easy to understand for someone unfamiliar with the database, so make sure to change the defaults if they are unclear.

