switch views

J

Juli V.

Please, tell me how I can change view.
I write: XDocument.View.SwitchView("Merge View");
But it doesn't work, either happens nothing or Error: "invalid context for
OM call".
I need to switch a view when some forms were merged. I've created another
view to show merged data. So where in a script I should write SwitchView
Metod to make it work in appropriate way?
Is it possible at all? or am I wrong in my understanding the feature?
Thanx!
 

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