I have a NavigationSubForm that targets a report, and outside the NavigationSubForm there is a date field and a button that filters the report according to the date field.
On the click event of the button, I changed the NavigationControl0.SelectedTab.NavigationTargetNam e and NavigationControl0.SelectedTab.NavigationWhereClau se
The problem is the NavigationSubForm will not refresh automatically, I need to click on the selected tab again to refresh the data.
I tried to perform a selectedtab click but it didn't work. Also I tried to requery the NavigationControl0 and refresh the NavigationSubForm but also didn't work.
Is there a way to allow a NavigationSubForm refresh its data after changing its NavigationTargetName and NavigationWhereClause without clicking on the selected tab?