Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / September 2004

Tip: Looking for answers? Try searching our database.

Disabling Views

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Manz - 23 Sep 2004 20:53 GMT
I have two views in my Infopath form. Based on a field I want to restrict the
users of the form to a view.  How can I achieve this?
Jerry Thomas [MSFT] - 23 Sep 2004 22:37 GMT
Set Task Pane to the Views view.
Switch to the view you want to hide.
Select View Properties.
In the General tab, unselect "Show on the View menu..."

Next, set up Roles for an Admin (you) and Users
Add a Button to the form and set Conditional Formatting so that if Role not
= Admin, Hide this control
Also add a Rule to the button to switch views to the other view.

Now, if the user is an admin, they will see the button that will allow them
to switch to the other view.

Signature

Jerry Thomas[MSFT]
<Jerryth@online.microsoft.com>
Microsoft Office InfoPath
---------------------------------------
This posting is provided "As Is" with no warranties, and confers no rights.
Use of any included script sample are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
Please do not send email directly to this alias.  This alias is for
newsgroup purposes only.

> I have two views in my Infopath form. Based on a field I want to restrict the
> users of the form to a view.  How can I achieve this?
Manz - 23 Sep 2004 22:51 GMT
Thanks.

> Set Task Pane to the Views view.
> Switch to the view you want to hide.
[quoted text clipped - 12 lines]
> the
> > users of the form to a view.  How can I achieve this?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.