Hello there,
I have a search box that opens a form using a filter. When I type the information I want to search in form, it works fine.
However, I am trying also to add the code that when the new form is open the cursor goes to a specific field in the new form.
Here is the code i have so far:
Private Sub cboSearch_click ()
DoCmd.OpenForm "frmSighOut", acNormal , , "[VehNumber]= ' "Me.txtSearch & " ' "
DoCmd.Close acForm, "frmVehSearch"
End Sub
Please help!!
Thank you,