Hi Rolliee.
I'm creating training records for employees associated with specific dealers. If I select dealer 1000, I want to requery the employee field to only show employees associated with dealer 1000 - if I change the dealer field to 1001, I want to show the employees associated with that dealer to do this, in the AfterUpdate event for the dealer field, I have the code Me!Emp_Id.Requery. The employee field is built on a query that selects Emp_Id, Emp_Name and Dealer_Code, and the selection criteria for Dealer_Code is [Forms]![frm_Training]![D_Code].
However, I also have a form that allows employees to move to a different dealer - on that form, I have the From_Dealer, the Emp_Id, and the To_Dealer. Again, if the From_Dealer is changed, I want to requery the Emp_Id field to only show the relevant employees.
I have created a second query, identical to the first, except the selection criteria for the Dealer_Code is hardcoded to read a different field on a different form.
It's not really a big deal - I just like a neat solution that reuses what's already there, and this is kinda bugging me... I'd like to know if it's possible to reuse the existing query.
Thanks,
Jennie.