I’m not sure if I’m following correctly, but… I THINK this is the set-up you want:
Tracker Fields (Parameters):
- ParamDV.EmployeeName
- ParamDV.UserID
- ParamDV.Address
- etc.
I’m assuming you have a button? “Search” for example. This runs a BAQ query?
Results come back and populate your results dataview.
Result Grid Columns would include:
- ResultsDV.EmployeeName
- ResultsDV.UserID
- ResultsDV.Address
- etc.
If the user clicks a row in the results grid… you want those values to over-write your tracker “parameters”.
If that is the case, you would want a rowChanged event on your ResultsDV which calls a row-update action. In that action, you need to define each ParamDV column you want to over-write:
Column1:
Binding: ParamDV.EmployeeName
Value: "{ResultsDV.EmployeeName}"
Column2:
Binding: ParamDV.UserID
Value: "{ResultsDV.UserID}"
etc.
This row-update would then take the values of the ResultsDV and over-write them into the ParamDV columns.
Then you could click your “Search” button again… or whatever your doing here… to re-run your query.
Alternatively, you could manually type values into the ParamDV column fields to manually update them.
I guess, in summary, if you want the Tracker fields and the results grid to always be the same… then just tie them to the same dataview.
But if you want to make changes to the Tracker fields, independent of the results grid, then they need to be different dataviews and you can pass values from one to the other via events.
But, without knowing what your dashboard is doing with the data, its tough to provide additional detail.