infopath lock different controls or different view

I am just starting to make an infopath solution for a sharepont workflow.  I have a somewhat basic expense report.  I plan to only let certain people edit certain areas based on what step it is on.

I was thinknig that I would have to make different views of the info.  I clicked on Add a New View, and it gave me a blank screen.  Since everything is basically the same, the plan was to pretty much copy everything, then make certain controls read only.  I tried selecting everything then pasting and it did not work.

1. Is there an easy way to copy one view into another?

2. If I do this, will I have to rename controls, so the firstname in one view would have to be something else in the other view?  Can they all be the same?  Are views seperate?

3. Is there a better way of doing this?  Should I just lock controls one at a time, instead of swithing views?

4. Is there a way to make a view out of a partial piece of the form?  Meaning, if I only wanted to restrict one area, can I kind of leave the whole form and only restrict/enable a certain section? (Like an area of a paper form the says "For office  use only"

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jackjohnson44Author Commented:
I tried copy and paste, but that won't work. My new view has a dark grey background.
Clay FoxDirector of Business IntegrationCommented:
You should be able to copy and paste most controls and text.  Sometimes it is difficult to highlight all of what you need with repeating tables or scrolling regions. Also button rules do not copy.  The fields and controls are referenced the same whether they are in multiple views.  The data is the same it is just the view that is different.

Creating seperate views is a good practice, especially if the view will be all readonly since in 07 you can make an entire view readonly in view properties.

You can use one view and make individual controls readonly using conditional formatting, in some cases this can work but with lots of controls can get cumbersome.

Another way to make a text control readonly is change it to an expression box.

There are multiple ways and combinations and it will come down to your specific requirements.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jackjohnson44Author Commented:
Thanks, if I can get the copy and paste working, is can the controls all have the same name as on the first view?  Will I have to rebind them and treat them as totally different controls?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.