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 / May 2007

Tip: Looking for answers? Try searching our database.

SwitchViews - Error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
esebastian@esolutionsgroup.ca - 23 May 2007 20:36 GMT
Hello Everyone,

I am using infopath 2007 and hosting it within visual studio windows
application with the formControl. My form has about 7 or 8 views in it
and all of a sudden when i try to switch the view (and i do this using
a button) i get the "InfoPath cannot execute any view-related object
model calls. The view is not ready." error. I have no idea what i've
done to make this happen or how to make it go away. Anyone know? One
thing i did try however was on my button events i call NotifyHost to
switch the view inside my windows form but initially that was working
and when i switch back to just switching the view inside my infopath
form i continue to get that error.

please help, this is most frustrating!

Thanks
esebastian@esolutionsgroup.ca - 24 May 2007 15:04 GMT
Hello Everyone,
It turns out that i had placed a few rules on various buttons to
switch views and then also programmatically switched views at the same
time. As most of you probably know you cannot switch views more than
once in one method call. I removed the rules and everything is great.
Thanks
 
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.