Re: DoMenuItem or RunCommand?
From: Tony Williams (tw_at_tcp.invalid)
Date: 03/16/04
- Next message: Mark: "Another SQL question"
- Previous message: Bruce: "Formatting Problem on Printing Form"
- In reply to: Art: "Re: DoMenuItem or RunCommand?"
- Next in thread: Joan Wild: "Re: DoMenuItem or RunCommand?"
- Reply: Joan Wild: "Re: DoMenuItem or RunCommand?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 16 Mar 2004 19:28:40 +0000 (UTC)
Hi Art it doesn't seem to be a problem so presumably I can leave well alone?
I thought maybe it was an old standard that I could have some problems with.
All the machines my database will run on have Access 2000 or later
Tony
"Art" <anonymous@discussions.microsoft.com> wrote in message
news:b54301c40b86$19911c00$a601280a@phx.gbl...
> DoMenuItem was used before Access97 and gets changed to
> RunCommand automatically on database conversion. If you
> have this in your code and it is causing a problem or
> generating an error, change it manually.
>
> Hope This Helps
> >-----Original Message-----
> >Hi Art, I don't really have a problem except when I was
> reading the VBA Help
> >files it said thatDoMenuitem was a hangover from Access
> 97 and now you
> >should use RunCommand instead. Is this the case and if so
> do I need to
> >change my code?
> >My code is
> >DoCmd.DoMenuItem acFormBar, acRecordsMenu,
> acSaveRecord, , acMenuVer70
> >What do you think?
> >Tony
> >"Art" <anonymous@discussions.microsoft.com> wrote in
> message
> >news:dfce01c40b58$03502c70$a401280a@phx.gbl...
> >> Hi Tony
> >> What problem are you experiencing or what is it
> that
> >> you are trying to accomplish?
> >>
> >>
> >> >-----Original Message-----
> >> >I have this line of code in a form
> >> >DoCmd.DoMenuItem acFormBar, acRecordsMenu,
> >> acSaveRecord, , acMenuVer70
> >> >Looking at the VBA Help it says the DoMenuitem should
> be
> >> replaced by
> >> >RunCommand.
> >> >Can anyone tell me if this will cause problems and how
> >> should I change the
> >> >line for RunCommand?
> >> >TIA
> >> >Tony Williams
> >> >
> >> >
> >> >.
> >> >
> >
> >
> >.
> >
- Next message: Mark: "Another SQL question"
- Previous message: Bruce: "Formatting Problem on Printing Form"
- In reply to: Art: "Re: DoMenuItem or RunCommand?"
- Next in thread: Joan Wild: "Re: DoMenuItem or RunCommand?"
- Reply: Joan Wild: "Re: DoMenuItem or RunCommand?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|