Hi there guys,
The problem I'm having relates to data entry in a sub form. I'm using a Combo box to select a product code, then using the other columns of the combo box to auto populate other fields in the subform through the Afterupdate event. The issue is, when I go to add a new record to the subform, it changes all the fields on the previous record to reflect the new product I have chosen from the Combobox. I'm almost certain the solution will be straight forward, but i cannot think of a way around it.
I've tried Dlookup instead and have found the same issues. The one workaround I can think of involves using a hidden text field that holds the value of the combo box for each record and then base all relevant DLookUps on this field (as it's static and not subject to change like the combobox)
What are you thoughts/suggestions on a cleaner solution?
Thank you
Adam
PS one of the other members of this forum, Sneuberg, has been helping me with an unrelated issue elsewhere on the forum so didn't think it appropriate to change that posts focus.
The problem I'm having relates to data entry in a sub form. I'm using a Combo box to select a product code, then using the other columns of the combo box to auto populate other fields in the subform through the Afterupdate event. The issue is, when I go to add a new record to the subform, it changes all the fields on the previous record to reflect the new product I have chosen from the Combobox. I'm almost certain the solution will be straight forward, but i cannot think of a way around it.
I've tried Dlookup instead and have found the same issues. The one workaround I can think of involves using a hidden text field that holds the value of the combo box for each record and then base all relevant DLookUps on this field (as it's static and not subject to change like the combobox)
What are you thoughts/suggestions on a cleaner solution?
Thank you
Adam
PS one of the other members of this forum, Sneuberg, has been helping me with an unrelated issue elsewhere on the forum so didn't think it appropriate to change that posts focus.