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