Hi.
I have a table containing student grades. This table contains grades for multiple school years and I use a field called 'SchoolYr' to select the grades for the year I want. I'd like to create one form with multiple tabs representing the different school years. For instance, I'd have tabs for 03-04, 04-05, and 05-06. All the data would be coming from the same table. How would I set up the tabs to get the data from one table but select it based on different criteria for each tab? Hopefully that is somewhat understandable. I know I can use subforms with different Record Sources but I'd have to have a new subform for each year and I'd end up with alot of subforms over a period of time. I'm hoping I can do it with code in the tab somewhere or set the Record Source of each tab somehow.
Appreciate any help you can give.
Rod
I have a table containing student grades. This table contains grades for multiple school years and I use a field called 'SchoolYr' to select the grades for the year I want. I'd like to create one form with multiple tabs representing the different school years. For instance, I'd have tabs for 03-04, 04-05, and 05-06. All the data would be coming from the same table. How would I set up the tabs to get the data from one table but select it based on different criteria for each tab? Hopefully that is somewhat understandable. I know I can use subforms with different Record Sources but I'd have to have a new subform for each year and I'd end up with alot of subforms over a period of time. I'm hoping I can do it with code in the tab somewhere or set the Record Source of each tab somehow.
Appreciate any help you can give.
Rod