P
PosseJohn
I have a form that displays single records. The form has a tab control with
3 tabs.
On the third tab, I have a sub form, that does not allow additions. On that
same tab, I have a command button to add a new record to the subform.
I'm having difficulty adding a new record (i.e. nothing happens).
Main Form Name = frmContacts
Sub Form Name = sfrmContactEntry
Tab Control Name = tabInfo
Tab Name = pageComments
Command Button Name = cmdAdd
Private Sub cmdAdd_Click()
Me.sfrmContactEntry.SetFocus
Me.sfrmContactEntry.AllowAdditions = True
DoCmd.GoToRecord , , acNewRec
End Sub
Thank you in advance for showing me the errors of my way...
3 tabs.
On the third tab, I have a sub form, that does not allow additions. On that
same tab, I have a command button to add a new record to the subform.
I'm having difficulty adding a new record (i.e. nothing happens).
Main Form Name = frmContacts
Sub Form Name = sfrmContactEntry
Tab Control Name = tabInfo
Tab Name = pageComments
Command Button Name = cmdAdd
Private Sub cmdAdd_Click()
Me.sfrmContactEntry.SetFocus
Me.sfrmContactEntry.AllowAdditions = True
DoCmd.GoToRecord , , acNewRec
End Sub
Thank you in advance for showing me the errors of my way...