Hi there,
I have a main form with one subform. they are linked together by Employee_Number fields on both forms(LinkMasterField and ChildMasterField). I would like to be able to change the subform's data for another employee number -while I am on that same main form . What is the best way to this? I have tried using control (textbox1) as the linkMasterfield . This textbox1 is assigned to Employee_number field of the main form. Then I have a combobox for user to pick different employee. When they select an employee from the combobox, I tried to assign the textbox1 to the selected employee and hoping that the subform would load new data based on that textbox1. But it has error of cannot assign value to the Textbox1. I wonder if it is being assigned to an employee_number right now.
Thanks in advance of your help.
Andy
I have a main form with one subform. they are linked together by Employee_Number fields on both forms(LinkMasterField and ChildMasterField). I would like to be able to change the subform's data for another employee number -while I am on that same main form . What is the best way to this? I have tried using control (textbox1) as the linkMasterfield . This textbox1 is assigned to Employee_number field of the main form. Then I have a combobox for user to pick different employee. When they select an employee from the combobox, I tried to assign the textbox1 to the selected employee and hoping that the subform would load new data based on that textbox1. But it has error of cannot assign value to the Textbox1. I wonder if it is being assigned to an employee_number right now.
Thanks in advance of your help.
Andy