G
Guest
I have a form called frmMain with a tab control called TabCtl0 and a subform
within the tab control called frmScreening. I would like to set the focus to
a field called txtserial when a new record is added. I have tried the
following 2 lines, but neither work:
[Forms]![frmMain]![frmScreening].Form![txtserial].SetFocus
and
Forms!frmMain!TabCtl0.Pages(1).txtserial.SetFocus
Would you know the proper syntax. Thanks.
within the tab control called frmScreening. I would like to set the focus to
a field called txtserial when a new record is added. I have tried the
following 2 lines, but neither work:
[Forms]![frmMain]![frmScreening].Form![txtserial].SetFocus
and
Forms!frmMain!TabCtl0.Pages(1).txtserial.SetFocus
Would you know the proper syntax. Thanks.