MS Access 97
Beginner/Moderate Level User
I am trying to create a Database to track Workouts in MS Access 97.
I have one Table named Workouts that contains the following Fields: Workout Code (e.g: U100), WorkoutActivity (e.g.: Bench Press: Flat Bench Straightbar) (note: this is the Primary Key of this Table), and Target Area (e.g.: Upper Body / Chest).
A second Table named Workout_Log contains the following Fields: Date, Set, WorkoutActivity, WorkoutActivity2..., Reps, and Weight..
I have created a Relationship between Table: Workouts: WorkoutActivity and Table: Workout_Log: WorkoutActivity, WorkoutActivity2. I've done this with the intent to automatically fill the Workout Code and the Target Area fields (derived from Table: Workouts) in on a new Form I'm creating relative to multiple WorkoutActivities (i.e.: WorkoutActivity, WorkoutActivity2...). The Form is being used to log multiple Workout Activities into a single Workout Session.
I have been successful in making the Form automatically popuate the Workout Code and Target Area fields based on selection from the WorkoutActivity field, but I am confused as to how to make the additional WorkoutActivity2 fields automatically drive the contents of additional Workout Code and Target Area fields.
Example:
Date: 09/19/06
Session: AM
Set Workout Code Workout Activity Target Area Reps Weight
1 U100 Bench Press Chest 8 180
2 <pending selection>
How do I cause the Workout Code & Target Area on this Form for Line #2 to automatically populate with "U101" and "Upper Chest" if I were to select "Bench Press: Incline" from the pending selection drop down box illustrated above? The way I have the Form set up now, the drop down does not trigger an autofill.
Thank you,
Shizbart