I am running into the old problem of needing a report that shows the sales from last week in specific departments and categories across multiple stores in HQ. I know that I can make a report using syntax like:
Department=X AND DateSold=Last Week OR Department=Y AND DateSold=Last Week OR Department=Z AND DateSold=Last Week OR
But that's a lot of DateSolds to have to change each time they run the report. I'd like to be able to put the date part of the query in the SelCriteria, but when I use this:
SelCriteria = "([Transaction].Time > )" GroupBy = "" SortOrder = ""
and then choose multiple Departments, it returns ALL the sales in the departments because of the "OR" selection between each of them. I thought that surrounding the SelCriteria with parentheses would fix the problem, but it has not. Any help would be appreciated.
We've not yet updated to 2.0, if that matters. A project for the Fall...
Thanks,
-CP
----------------------------- Chris Powell General Manager / CRO Lone Star Comics & mycomicshop.com