Hello All,
I am having a subreport where I am using a SQL command to retrieve the data.
The fields which are there: Deal No, Maturity Date, Deal Date, Value, comments, event number And group by Deal No.
I put a condition in the "Select Expert" to get Maturity Date <='31-12-2009'.
My problem is that, how can I get the maiximum event number when the date <='31-dec-2209'. I tried to use the maximum summary, but it gave me the wrong number. The result was the maximum value in the DB not in that period.
I defined in the Selection Formulas -> Group that
{event number}= maximum ({event number}, deal_no), but this did not work.
So, how can I get the maximum event number in a selected period.
Also, I want to filter the comments. I do not want the comments which has 'Closed'. MOst of the comments are having "Closed By XYZ". So, how can I filter to only not to display the deals which in their comments the word "Closed" at the beginning".
Thanks
I am having a subreport where I am using a SQL command to retrieve the data.
The fields which are there: Deal No, Maturity Date, Deal Date, Value, comments, event number And group by Deal No.
I put a condition in the "Select Expert" to get Maturity Date <='31-12-2009'.
My problem is that, how can I get the maiximum event number when the date <='31-dec-2209'. I tried to use the maximum summary, but it gave me the wrong number. The result was the maximum value in the DB not in that period.
I defined in the Selection Formulas -> Group that
{event number}= maximum ({event number}, deal_no), but this did not work.
So, how can I get the maximum event number in a selected period.
Also, I want to filter the comments. I do not want the comments which has 'Closed'. MOst of the comments are having "Closed By XYZ". So, how can I filter to only not to display the deals which in their comments the word "Closed" at the beginning".
Thanks