Add view to menu at run time

J

Jay W

Is there a way I can add set a view to appear on the View menu at run time?
I know I can set wether a view should be included on this list at design time
in the view properties. I am trying to restrict access to certain views
based on some business logic. I know I can remove the views from the menu
and then only allow access to the view through button clicks but adding and
removing a view from the list is a more elegant solution - if it can be done.

Any ideas are appreciated.

Thanks,

Jay
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top