My report has two parameters - a startdate and an enddate. Besides getting the data for the date range the user puts in (ie, 7/1/03 to 7/31/03), I also need prior months data for another column. I have done this in a sp but cannot figure out how to do it in Select Expert. Here is the (incorrect) formula:
{Transaction_History.Trade_Class} = "R" and
(({Transaction_History.Fund} in "0100" to "0399" or {Transaction_History.Fund} = '0744') and
{Transaction_History.Post_Date} in (month,{?StartDate}()-1) to {?EndDate}
Have tried several different ways but always get some sort of error. Am I close?
{Transaction_History.Trade_Class} = "R" and
(({Transaction_History.Fund} in "0100" to "0399" or {Transaction_History.Fund} = '0744') and
{Transaction_History.Post_Date} in (month,{?StartDate}()-1) to {?EndDate}
Have tried several different ways but always get some sort of error. Am I close?