Hi all,
I have a form (frmJobSummary) with a subform (subfrmProduct). On this subfrm I have a combo box (cboTransport).
When I open this form, I would like the cursor to be sitting in the combo box.
I have tried the following code in the onload event of the form:
Private Sub Form_Load()
Forms!frmJobSummary!subfrmProduct.cboTransport.SetFocus
End Sub
It doesn't seem to work. Does anyone have any ideas?
Thanks in advance
I have a form (frmJobSummary) with a subform (subfrmProduct). On this subfrm I have a combo box (cboTransport).
When I open this form, I would like the cursor to be sitting in the combo box.
I have tried the following code in the onload event of the form:
Private Sub Form_Load()
Forms!frmJobSummary!subfrmProduct.cboTransport.SetFocus
End Sub
It doesn't seem to work. Does anyone have any ideas?
Thanks in advance