The best way to do this is to customize the tracker view:
Then within the Customization Tools Dialog, select EpiCombo and place it in the body of the tracker. Then in the control properties, set them like this:
Once you set the IsTrackerQueryControl to true, you can select the QueryColumn you want linked to the tracker. In your case, it would be the company site, but don’t forget to return that column in the dashboard query, otherwise the tracker won’t know what to look for. In the ListItems, you can manually key in the available values, leaving the first line blank so that selecting it can return all rows. Set DashboardHonorNull to False also to enable that option.
That does work!
Is there a way for the list to self populate with the options though?
This does work and I am grateful that you showed me this way but I was just trying to think in the future when they add more sites.
That would save my future self from having to remember that I need to edit the list to add the new sites, if possible.
If there is no good way, then I will stick with this.
Thanks again! I really appreciate your help on this!
My grid is basically just the Project Cost History table, but I want to search by ProjectID from the Project table. To do that, I have the “test_Project” BAQ which returns the ProjectID column, and I link the BAQ in the DynamicQueryID property. The DisplayMember and ValueMember are what literally shows in the drop-down and the corresponding search value, respectively. Set DashboardPrompt to True, then at the bottom of the properties, set IsTrackerQueryControl to True, and set the QueryColumn to the target column in the dashboard grid.
When you save, you’ll get something like this:
Of course, there’s nothing stopping me from using the same query in the BAQ combo as in the dashboard grid, just to have fewer BAQs to keep track of.
Is there a way to filter the BO list to only “available” values?
For instance, I want to setup a combo box for Customer. But I don’t want to see all 5000 customers setup in our system. I only want to see customers that have records in the grid I am filtering. I know there are ways to set the filters on the properties. Is there anything that allows me to look at the values present in the grid?