Simle View Question

P

pmud

Hi,

I have created an infoPath form fron a database. Now, I need tyo create 3
views. The only difference in the 3 views being that teh value of a few
dropdown lists in these 3 views should be different.

So, I copied the Default view and pasted it ina new blank view, and then
went to the particular view's dropdown lists and removed 2 values from there.
Also, I changed the title heading of the form. But when I hit preview , it
still shows the default view and the new values in teh dropdown are not shown
too.

Please help. What am i missing.

Thanks
 
F

Franck Dauché

Hi,

You need to Switch View (with a button for example), using:
XDocument.View.SwitchView("YourViewName"); by code or using a rule behind the
button.
Based on some logic when you open the form, you could also change the
default View.

What are your requirements?

Regards,

Franck Dauché
 

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