I have a form, it has tabs and each tab has a subform. These subforms are of the same kind. The main form data and the subform data have a one-to-many relationship. Instead of using the default Access record selection in the subform, I need to make each record appear in a subform of a tab.
For example, if the main form contains the family information, then the subform in tab1 contains information for Child 1 of the family; the subform in tab2 contains information for Child 2 of the family, and so on. On the main form, there is a field indicating how many children in the family.
My boss asks for this because the tab format is easier for data entry than the arrows at the bottom of the page.
Now I'm stuck. I have made copies of the same subform and put one in each tab, but I don't know how to filter the records so that child1 appear only in tab1/subform1, child2 appear only in tab2/subform2. What's the best way to make this happen? Is VBA necessary? Something like Dlookup? Any guidance is appreciated.
Thanks very much.
toryee
For example, if the main form contains the family information, then the subform in tab1 contains information for Child 1 of the family; the subform in tab2 contains information for Child 2 of the family, and so on. On the main form, there is a field indicating how many children in the family.
My boss asks for this because the tab format is easier for data entry than the arrows at the bottom of the page.
Now I'm stuck. I have made copies of the same subform and put one in each tab, but I don't know how to filter the records so that child1 appear only in tab1/subform1, child2 appear only in tab2/subform2. What's the best way to make this happen? Is VBA necessary? Something like Dlookup? Any guidance is appreciated.
Thanks very much.
toryee