This above is an example of a (form) refresh.
I would like to know where I can find documentation that catalogues all of the various commands that can be used with the domenuitem command.
I use these types of commands throughout my applications--when I use the command button, for example, I'll let Access create the code for me and then I can include the code in any other VB procedures.
It appears that Access has created a robust library of commands and I would like to tap into these.
Thanks in advance for any help!
-Helen

If you're using a "modern" version of Access (Access 2000 or later), use the
RunCommand method instead of the DoMenuItem method. In the help file, there
is a list of all the menu items (commands) that you can invoke; for Access
2002, there are 519 commands.

Wow!
This is great! I think I came across this about one year ago and was scared off thinking that this was Visual Basic stuff that was over my head. It would be great if the list of commands were available in a table.
I do have a good bit of code throughout my applications that use the DoCmd method--does this slow down my applications?
Thanks so much--this was exactly what I wanted to find!
--Helen

Yes--I've surfed the Access Help quite a bit and have found that if you do not use the 'correct' words, you're out of luck. However, that said, I do use the Access help daily and have been able to get myself out of plenty of binds.
I tried the run command method suggested by another user and I will definitely use that alot in the future.
Respectfully,
Helen