raghuprabhu
Registered User.
- Local time
- Today, 08:45
- Joined
- Mar 24, 2008
- Messages
- 154
Hi,
I am trying to add a new record in a sub form. The following code is working. How do I make the cursor to go to a certain field in the form? I want the cursor to go to or set focus in a field named eDate.
Private Sub cmdAddNewReocrd_Click()
Me.SF_AccountsSub.SetFocus
DoCmd.GoToRecord , , acNewRec
End Sub
Thanks.
Cheers
Raghu Prabhu
I am trying to add a new record in a sub form. The following code is working. How do I make the cursor to go to a certain field in the form? I want the cursor to go to or set focus in a field named eDate.
Private Sub cmdAddNewReocrd_Click()
Me.SF_AccountsSub.SetFocus
DoCmd.GoToRecord , , acNewRec
End Sub
Thanks.
Cheers
Raghu Prabhu