jadams0173
Technical User
- Feb 18, 2005
- 1,210
I have 2 combo boxes where combo one determines what records are shown in combo 2. I have this working, but when the user selects the value from combo 2, I'm having difficulty getting the rest of the form to populate with the selected info for that record. Here is the after update event for combo 1 where I change the rowsource.
What if anything needs to go in the Afterupdate for combo 2 to make the form populate. I read the FAQ on this but still couldn't get it to work. Thanks for the help!!
Code:
Private Sub Customer_AfterUpdate()
StencilPartNumber.RowSource = "SELECT tblStencils.Customer, tblStencils.StencilPartNumber, tblStencils.StencilRev, tblStencils.Side, tblStencils.EngineerResponsible, tblStencils.SLRPartNumber, tblStencils.StorageLoc, tblStencils.Comments " _
& "FROM tblStencils WHERE (((tblStencils.Customer)=[forms]![frmfindstencils]![customer]));"
End Sub
What if anything needs to go in the Afterupdate for combo 2 to make the form populate. I read the FAQ on this but still couldn't get it to work. Thanks for the help!!