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 / November 2004

Tip: Looking for answers? Try searching our database.

Can I rebind controls to the schema at runtime?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
G. Tarazi - 12 Nov 2004 14:31 GMT
Hi

Can I rebind controls to the schema at runtime?, and if yes, what commands or object module should I use.

Thanks
Matthew Blain \(Serriform\) - 13 Nov 2004 00:09 GMT
Controls are bound using XSL.
To rebind at runtime, you'll need to dynamicaly generate XSL and cause it to be applied.
You can do this by applying the XSL yourself and returning it though xdExtension.

But that's working against what the InfoPath does. Really really hard against it.

You're better off writing custom XSL which binds controls as appropriate.
Or use the 'lots of sections/controls with only one showing' as appropriate.
Or otherwise re-thinking the model.

--Matthew Blain
http://tips.serriform.com/
http://www.developingsolutionswithinfopath.com

 Hi

 Can I rebind controls to the schema at runtime?, and if yes, what commands or object module should I use.

 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.