G
Guest
Hi
I have a main with qry1 and subform with qry2. They are linked up by field1 and field2. In my main, I have field1 and field2 as controls. Both field1 and field2 are combo boxes. What I am trying to do is, when field1 is selected, use field1 to restrict field2 and then use field1+field2 to restrict the recordset in subform. For example
field1 = department
field2 = salesman
subform = displays all orders of the salesma
I will choose field1 first and then use field1 to filter field2 so that I can see salesmans of the particular deaprtment. When a salesman is chosen, all orders belong to this saleman will display in the subform
Does anyone have come aross this situation
Thank
I have a main with qry1 and subform with qry2. They are linked up by field1 and field2. In my main, I have field1 and field2 as controls. Both field1 and field2 are combo boxes. What I am trying to do is, when field1 is selected, use field1 to restrict field2 and then use field1+field2 to restrict the recordset in subform. For example
field1 = department
field2 = salesman
subform = displays all orders of the salesma
I will choose field1 first and then use field1 to filter field2 so that I can see salesmans of the particular deaprtment. When a salesman is chosen, all orders belong to this saleman will display in the subform
Does anyone have come aross this situation
Thank