HalloweenWeed
Member
- Local time
- Today, 09:20
- Joined
- Apr 8, 2020
- Messages
- 213
I have vba code, in a form, that opens another form in add record mode, that works fine until I try to add "Option Explicit":
It doesn't like "acNewRecord". The problem is, looking at the OpenForm syntax, I cannot find an enumeration to replace "acNewRecord" with.
Code:
DoCmd.OpenForm stDocName, , , , acNewRecord, , StOpenArgs