
Converting Access 2.0 to Access 97/2002
Have you tried specifying the Access version in the DoMenuItem arguments:
DoCmd.DoMenuItem 0, 0, 2, , acMenuVer20
?
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(to reply via e-mail, remove NOSPAM from address)
Quote:
> I just inherited an old Access db that still has a
> DoMenuItem line in it. (DoCmd.DoMenuItem 0, 0, 2) I can't
> for the life of me remember what 0, 0, 2 did. I'm guess
> File Menu, ?, ?. From the location in the code, it would
> seem to be trying to make Access quit, but that's not what
> it's doing. In fact, when I step through the code, I
> don't see any effect from running that line.
> Anyone have an old reference for this?