Macro Command Argument List (1 Viewer)

gfultz

Registered User.
Local time
Yesterday, 22:19
Joined
Dec 18, 2009
Messages
51
Hi All,

I am looking at taking over development of a database and I encountered code for "DoCmd.DoMenuItem acformbar, acRecordsMenu, 5, , acMenuVer70". I don't use this as I use the DoCmd.RunCommand approach and I am unfamiliar with what Command "5" is. Since this comes from a Macro Command Argument List from previous versions of Access, I thought someone here might know what this command is.

Functionally, it filters the form by the selection in an unbound combobox. It resides in the afterupdate event. I would think it would be some sort of filter by selection, etc but I can't seem to duplicate it.

Thanks for any help.
 

boblarson

Smeghead
Local time
Yesterday, 22:19
Joined
Jan 12, 2001
Messages
32,059
Yes, this page might be of help to you. It shows that one as Apply Filter/Sort. So you can convert that to the

DoCmd.RunCommand acCmdApplyFilterSort

instead.
 

gfultz

Registered User.
Local time
Yesterday, 22:19
Joined
Dec 18, 2009
Messages
51
Thanks! I figured someone would know where the information existed!
 

Users who are viewing this thread

Top Bottom