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":
DoCmd.OpenForm stDocName, , , , acNewRecord, , StOpenArgs
It doesn't like "acNewRecord". The problem is, looking at the OpenForm syntax, I cannot find an enumeration...