I have a table with a series of columns that store costs. When generating a report I have a drop-down which lists these columns. By default the report would show all records but if one of the column names is selected from the drop down I would like to only show those records in which that column is greater than zero.
I have been trying to add a condition to the criteria of the query. Something like this (I know this isn’t right but should give an idea of what I’m trying to achieve):
Iif(FundType = "ThisColumnName", > 0, "*")
Well that was actually very easy… Need to buy myself a rubber duck.