Thanks yarbrough. You're basically correct. on the main form, I use the dropdown (combobox) to select the department I'm currently working on.
That updates the query for my subform, pulling all functions that match the deptartment ID. Within the subform query, I'm pulling in departmentID so when I add a new record, I can select it from the dropdown. My goal is to skip this last step so that when I add a new record, my code will automatically updates the DepartmentID for that record within the subform to match the current department (selected from the main form's dropdown)..
Sorry if that's confusing.. thanks everyone!
Quote:
Originally Posted by yarbrough40
ok so are you saying that you are making a dropdown box selection in the main form and wanting that selection to populate into a control in a subform when you add a record to that subform rather than updating a query and refreshing? - you want to update the form control directly... is this right?