Tracker View Filtering on an Unfiltered BAQ

It sounds like the dashboard is calling the BAQ in the standard way. Are you sure you don’t have the BAQ attached to a BAQview?

Maybe we could isolate the issue. Create a random junk customization on any form (not a dashboard) - add a grid and a button and paste your code in. Does it work there?

Bill - From a quick glance the code and BAQ look correct. Have you tried replacing the variables with some hard-coded values that you know work?

Something like this with your specific values… This assumes you run your BAQ manually, populate the parameters, and it does return data.

qds.ExecutionParameter.AddExecutionParameterRow("Supplier", "12345", "nvarchar", false, Guid.NewGuid(), "A");
qds.ExecutionParameter.AddExecutionParameterRow("DateRangeStart", "1/1/2017", "date", false, Guid.NewGuid(), "A");
qds.ExecutionParameter.AddExecutionParameterRow("DateRangeEnd", "12/31/2017", "date", false, Guid.NewGuid(), "A");
1 Like

Just curious what ever happened here @BA-Quest

I was able to get something very similar to this working pretty much the same thing he was trying to do filter between two dates