I am very new to VBA and what I know of Access is largely self taught from trial and error - likely why my current issue is arising. I have a Form1 that is used for data energy and bound to Table1. Form1 has a tab control with Option Group buttons used to pass true/false through to bound Table1 based on user selections. My problem: I want to create another subset of questions (another 7 approxiamtely) for users only when they answer 'false' to one of 30 questions on the form. I don't want this being stored for each primary key - but Table1 questions must occur for each primary key. I was hoping for Table1 - when user selects False - to create a new record in Table2 and inserting the primary key/compnay information from Table1/Form1. First thought was just to put an If statement in code that would pass the value from Table1 to Table2 in the OnUpdate event to the Option Group.
I have code that converts the value being stored from the Option Group to actual true/false rather than -1/0.
Thoughts? Maybe i should be using subforms..??
I have code that converts the value being stored from the Option Group to actual true/false rather than -1/0.
Thoughts? Maybe i should be using subforms..??