Keith Nichols
Registered User.
- Local time
- Today, 20:25
- Joined
- Jan 27, 2006
- Messages
- 431
Hi Folks,
If you use the wizard to create one of the standard buttons on a form, it gives you code for the DoMenuItem method for whatever you are looking for. eg the find button gives:
In another thread it was suggested that this was "old fashioned" and the correspondant suggested:
Can somone give a brief overview of the difference and any advantage of using one over the other?
For a relatively new coder, the wizard is the easiest way to get something up and running and seems to work pretty well.
Regards,
Keith.
If you use the wizard to create one of the standard buttons on a form, it gives you code for the DoMenuItem method for whatever you are looking for. eg the find button gives:
Code:
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
In another thread it was suggested that this was "old fashioned" and the correspondant suggested:
Code:
DoCmd.RunCommand acCmdFind
Can somone give a brief overview of the difference and any advantage of using one over the other?
For a relatively new coder, the wizard is the easiest way to get something up and running and seems to work pretty well.
Regards,
Keith.