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

Tip: Looking for answers? Try searching our database.

Refresh secondary datasource

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
esebastian@esolutionsgroup.ca - 22 Feb 2007 20:26 GMT
Hello All,
I have a combo box whose values are retrieved from a database table.
While my form runs though code a new entry may be added to the
database table,  I have an event captured when this happens but i
can't seem to find a way to refresh the datasource that is populating
the combobox so when an entry is added it will be reflected in the
list. Does any one know how to programmatically refresh a secondary
datasource in infopath???
Thanks,
Erin
esebastian@esolutionsgroup.ca - 23 Feb 2007 16:03 GMT
Hello Everyone,
I was able to figure this out. Adding this line of code will refresh
your datasources.

this.CurrentView.ForceUpdate();

thanks,
Erin
 
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.