Link to home
Start Free TrialLog in
Avatar of digger6955
digger6955Flag for United Kingdom of Great Britain and Northern Ireland

asked on

DropDown List box selection change form view

I have a form with the general user name date etc and 2 further views of the same form with different data input text boxes etc.on the main form (defaultView) I have a  dropdown box with the following selections which I have entered manually. The selections are View 1, View2, and View3. depending on the selection by the user depends on what view of the form they see. How do I  set this to change the view when the user select view2 etc. ?
I have tried to set a rule on the listBox dropDown properties. The condition I set was View = view2
Add action set to change view. This isnt showing on my add actions.
How can i do this please without opening another form ?
ASKER CERTIFIED SOLUTION
Avatar of Clay Fox
Clay Fox
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of digger6955

ASKER

Cool :-)

Love the idea of the tabbed interface as I wanted to stear clear of buttons .I know its another question but I am still very new to this.howdo I create the simulated tabbed interface? Is this easy to do ?
I didnt like the button solution that I knew I could create. However I never thought of the simulated  tabbed solution . Again great answers to what may seem easy questions to the experts but is a throw the bl**dy PC out the window syndrome to me. Thank you.
The tabs are pretty simple once you get the idea.

So you make your button uniform, I usually give them a strong border and then they typically are adjacent to each other.

Then give the Section a strong border as well and the button sits directly above it.

Then there are formating rules on each button.
If view = 1 Bold the font
and the button action is to set the view = 1
then the next button is the same except for 2
Then as you click buttons it becomes bold and the other are not.
I have done this with sections in the same view, and just had then section one one top of the other and had conditional formating if view not = 1 hide, etc
But there is no reason you could not do this with views as long as they were formatted the same on the top, but it might not be quite as fluid since there is more overhead on a view switch.

Just take it step by step and experiment.
There may be some more information or examples at www.infopathdev.com I know other guys there showed this to me originally and they may have blogged about it.
A very big Thanks for your patience and understanding. I will experiment  and I am sure the form will be good.Another problem solved this is good learning.
Thanks again
Rod