I am in Access 2007. I’m building a 6 tabbed form to replace 6 single forms.
My primary table is MOL. It has a one to many relationship with the AOL table. I’ve read that because I have a relationship, I can update multiple tables using one form. When I add fields I see my primary table and fields. I also see the related table and fields.
In the 6 form set-up, the MOL record is created first with event as the PK. Then the AOL records are created using the event field as its PK with an additional field.
On a single page form when you save the record the source table is updated for all fields on the form. I assume the same is true for tabbed forms. However, because my AOL tabs need to read the event value from the MOL, I need to save that portion of the form first. I was thinking of setting the AOL tabs to Visible = No. Then enter MOL data and create a function to save the record, set the MOL tabs Visible = No and AOL tabs Visible = Yes. It would be a lot simpler than writing a proc to save only the MOL fields, then another proc to save AOL records.
Before I decide which code to write does anyone know the if you save a tabbed form, does it save only the visible tab values or all values?