O
Opal
I have an inventory input form that has a combo box from which the
user selects the shift for which the inventory is being taken. On
this form I also have a sub form from which separate data is gathered
from the user, but the shift information is also needed. The form and
subform are bound to separate tables. I am using a subform to gather
the additional information to a separate table because the results are
used in a separate calculation. I only want the user to select the
shift information once. How can I populate the "shift" text box on
the subform with the same information selected from the "shift" combo
box on the main form?
I searched through some posts and found a macro that was supposed to
produce the desired results, but the post was 7 years old and when I
tried it I got an error. I would prefer to use VBA than a macro, but
not sure how to get it to work. Any suggestions?
user selects the shift for which the inventory is being taken. On
this form I also have a sub form from which separate data is gathered
from the user, but the shift information is also needed. The form and
subform are bound to separate tables. I am using a subform to gather
the additional information to a separate table because the results are
used in a separate calculation. I only want the user to select the
shift information once. How can I populate the "shift" text box on
the subform with the same information selected from the "shift" combo
box on the main form?
I searched through some posts and found a macro that was supposed to
produce the desired results, but the post was 7 years old and when I
tried it I got an error. I would prefer to use VBA than a macro, but
not sure how to get it to work. Any suggestions?