If I open my forms, the record navigation bar shows all records and I can arrow through them. However, when I open my navigation form those same forms, within the navigation form, only show a new record. Why is this? Can it be corrected?
Thank you!
If I open my forms, the record navigation bar shows all records and I can arrow through them. However, when I open my navigation form those same forms, within the navigation form, only show a new record. Why is this? Can it be corrected?
Thank you!
Have you checked if the forms are set to data entry?
Then set DataEntry property to No.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Works for me.
If you want to provide db for analysis, follow instructions at bottom of my post.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Does the code to load the subform have any argument setting the form to data entry?
Many of us dont use the built in Nav forms. I find them to be quirky and a P.I.T.A. to reference controls and such. Much easier to build your own.
Sorry it took so long. I've been working OT.
EZGradebook.zip
A lot of the forms have code in the form load event:
You have told the form(s) to goto a new record. (June is correct - see next post. I mixed up code in another dBCode:Private Sub Form_Load() DoCmd.GoToRecord , , acNewRec End Sub)
Forms "frmSchoolInfo", "frmGradeLevelEnrollment" and "frmCourseEnrollment" do NOT have the on load code.
Forms "frmStudents", "frmCreateNewCourse" and "frmCreateNewAssignments" has the on load code.
Last edited by ssanfu; 11-05-2019 at 06:52 PM. Reason: Corrected mistyped error on my part
Looking at EZ Gradebook Home form.
Forms have code that sets focus to new record.
Code:Private Sub Form_Load() DoCmd.GoToRecord , , acNewRec End Sub
If you don't want that behavior then remove the code.
And I see ssanfu already posted with similar info. However, does not set to Data Entry Mode. Can still navigate to existing records.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
OK, help me understand, though. If I open the forms, when I'm not in the Navigation Form. They open to a new record but I'm able to navigate through other records. But, when I'm in the Navigation for, it doesn't work. I only see the new record.
Thank you!
A lot of the forms have code in the form load event:
You have told the form(s) to goto a new record. (June is correct - see next post. I mixed up code in another dBCode:Private Sub Form_Load() DoCmd.GoToRecord , , acNewRec End Sub)
Forms "frmSchoolInfo", "frmGradeLevelEnrollment" and "frmCourseEnrollment" do NOT have the on load code.
Forms "frmStudents", "frmCreateNewCourse" and "frmCreateNewAssignments" has the on load code.
When I open your example dB, the school info form is displayed. I click on the STUDENT INFO button and the Enter New Student form is displayed.
I entered 3 more students.
I click on the School Info button and the school info form is displayed.
I then click on the STUDENT INFO button and the Enter New Student form is displayed and it is at "New Record".
If I click on the "First Record" button, the first record - William Bradford - is displayed.
If I click on the "Next Record" button I move to the next record (Jim Beam).
Is that not what is supposed to happen?
What happens when you close and reopen the db. Do the new records still show?
When I open your example dB, the school info form is displayed. I click on the STUDENT INFO button and the Enter New Student form is displayed.
I entered 3 more students.
I click on the School Info button and the school info form is displayed.
I then click on the STUDENT INFO button and the Enter New Student form is displayed and it is at "New Record".
If I click on the "First Record" button, the first record - William Bradford - is displayed.
If I click on the "Next Record" button I move to the next record (Jim Beam).
Is that not what is supposed to happen?
OK, I closed the dB, then opened it. Clicked on the STUDENT INFO button:
Form opened to a new record.
(Note the RED arrow and the red box.)
The dB you posted only had one student William Bradford, so I added 3 more students.
Click the first record button and it displays Bradford. Next record button moves to a different student.
I did not have to re-enter any students.......
I have never used the Nav form - I have always created my own forms. The Navigation form is too limiting and hard to reference.
I just looked at William Bradford's birth date - 3/19/1590.![]()