A family of Microsoft relational database management systems designed for ease of use.
Use the browseto command.
If you browseto a form that is included in the nav buttions, then that one becomes active.
eg:
DoCmd.BrowseTo acBrowseToForm, _
"Form3", _
"Navigation Form.NavigationSubForm", _
"where condition"
Note that if in say a choice of 5 nav buttons, you do NOT have form3 (as in the above example) then the current existing sub form will be replaced. However, if the 4th button is set to form3, then the above would display form 3, and the 4th button would highlight.
And, as the above shows, you can add in a where clause.
The above browse to command of course is available in both VBA as above, or as a macro command.
This navagation feature is for web forms, but is a great choice for desktop also.
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada