kirstenlargent
Technical User
I would like the focus to be on a certain control/field (named "PlaintiffName"
when I open a particular form. The tab index on the desired control is set to 1, and I've created the following Form Open Event for the form:
DoCmd.Maximize
DoCmd.GoToRecord acDataForm, "frmSubpoenas", acNewRec
Forms!frmSubpoenas!PlaintiffName.SetFocus
For some reason, the form always opens with the DateRecieved field selected even though it has a tab index of 2. What could be causing this or how can I correct the problem?
Thanks.
DoCmd.Maximize
DoCmd.GoToRecord acDataForm, "frmSubpoenas", acNewRec
Forms!frmSubpoenas!PlaintiffName.SetFocus
For some reason, the form always opens with the DateRecieved field selected even though it has a tab index of 2. What could be causing this or how can I correct the problem?
Thanks.