Hello there
I have this frmJournalMain on wish I have a "New" button. When OnClick the "New" button I want the subform (frmJournal) to be visible and be ready setup a new record.
When pressing the "New" button the frmJournal shows but it is not ready for a "new record"
This is the code:
Private Sub cmdNy_Click()
frmJournalMainSub1_Liste.Visible = False
frmJournal.Visible = True
Sagsnummer.SetFocus
DoCmd.GoToRecord , , acNewRec
End Sub
How do I activate the subform to be ready to a new post? The "Sagsnummer.SetFocus" is my attempt to activate the subform - without any luck
Regards
Morten