MS Access newbie that created a simple Access 2007 database used to assign horses to student riders. Fields are Date, StudentName, HorseName, LessonType, Instructor and Fee. When the admin creates a record she will fill in the date, the StudentName, HorseName, LessonType, Instructor are combo boxes that look up the drop down data in their respective tables. The Fee field is manually filled in by the admin based on whatever agreement was made between the student and instructor. All the fields are saved so reports can be run.
Now my client wants to add some "matrix logic" so that the Fee field is auto populated based on the LessonType and Intructor fields. For example the Fee field logic would go something like:
If Instructor = "Ann" and LessonType="30 Min" populate Fee with $15.00
If Instructor = "Kate" and LessonType="1 hour" populate Fee with $60.00
and the 'If Instructor and LessonType' logic would be quite long as they have many Instructors and many LessonTypes. Could be as much as 30 IF lines.
How would I go about making this happen?