I have a search form on which I have 2 subforms that bring back search results based on a combo box selection on top of the page. Search results come back fine but I have button on both of these sub forms that needs to open record based on the subform values.
Code is
DoCmd.OpenForm "frmVacancyApproval_S1", , , "[Job_Ref]=" & Me.Job_Ref
but when I click on the button parametre box would appear asking to enter "Job_Ref" twice
Please help
Code is
DoCmd.OpenForm "frmVacancyApproval_S1", , , "[Job_Ref]=" & Me.Job_Ref
but when I click on the button parametre box would appear asking to enter "Job_Ref" twice
Please help