MS Access 2013 Form to open at new record

I hate to ask you guys such a seemingly basic question… but no matter what I try, I can’t get Access to open my Navigation Form to a new record (it keeps opening to the first record).
Starting with the Form: “Introduction,” I would simply like to create an event where if the Control Button ‘Start New Interview’ is clicked, then Form: “Master Navigation Form” opens to a blank, new record.
 
Simple methods like using the Macro Building ‘Go to New Record’ or DoCmd.GoToRecord , , acNewRec, just don’t seem to want to work.
Can anyone look at my database and help me figure this out?
muse.accdb
mdstallaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
BitsqueezerConnect With a Mentor Commented:
Hi,

I do not have A2013 but to go to a new record the first thing you must make sure is that this form contains a recordset which allows adding new records. Go to the last record and see if there is one with an asterisk at the record selector showing you can add a new record.

If that's the case the DoCmd command should work. Of course the setting "AllowAdditions" of the form must be set to True. You can also directly set the "DataEntry" setting to True, this will keep out any existing records from your form and only allows to enter a new one.

Cheers,

Christian
0
 
mdstallaAuthor Commented:
Yes, the record selector does have an icon with an * for adding a new (blank) record.  I set 'Allow Additions' to True and even set 'Data Entry' to True.  

The form still opens at my first record.
0
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
You have multiple nested subforms, so you have to use some convoluted syntax to get there:
DoCmd.OpenForm "Master Navigation Form"
Forms("Master Navigation Form").NavigationSubform.Form.NavigationSubform.Form.Recordset.AddNew

Open in new window

FWIW, I don't see the need for that level of subform. At most, you'd need a single level of subforms, with your tab control on that.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.