donkey9972
Registered User.
- Local time
- Today, 02:36
- Joined
- May 18, 2008
- Messages
- 82
Hi again, I have an unbound sub-form. On that sub-form when I click a button it loads a specific form. When that form loads into the sub-form I want it to go to a new record, but the problem is the code I use wants the actual form to be opened, so I am not sure how to write the code for the sub-form.
Which this code works fine if it was the actual form I was opening, but since its the sub-form it doesn't work.
Code:
DoCmd.GoToControl "txtDate"
DoCmd.GoToRecord acForm, "frm_Coversheet", acNewRec
Which this code works fine if it was the actual form I was opening, but since its the sub-form it doesn't work.