I have a form (myform1) that takes data from an unbound comb box. I need to make an addition to the table from which the unbound combo box draws it's info and then be able to reopen the combo box to enter the new data.
I have a Command Button that takes me to the data entry form (myform2) to update the combo box table.
On the second form (myform2), after data entry, I have a Command Button that runs the following Macro:
Macro
Step 1 - Action = Close, Object type = Form, Object name = [my form2], Save = Yes
Step 2 - Action = Close, Object type = [my form1], Save = No
Step 3 - Form Name = myform1, View = Form, Filter is blank, Where Condition is blank, Data Mode = Add, Window Mode = Normal
When I click of the Close button the system completes all the steps. However, I was expecting the return to my original form (myform1) in the same condition as when I left it but, I find that the data has been saved in both my original table as well as my revised table and a new blank original form (myform1) is happily waiting for me to add new stuff.
What I need to do is get back to the original form in the same configuration as when I left it. Then I can continue to complete the form.
I really thought I could do this using the macro. Please show me the error of my ways
Thanx in advance.