Scroller52
Technical User
Hi, using Crystal XI release 2 on a SQL database.
I have two tables in a subreport that look like this:
Table: Carry
Investor Inv Short Name Year Distr
Inv1 Inv1 2002 100
Inv1 Inv1 2003 100
Inv1 Inv1 2004 100
Inv1 Inv1 2005 50
Inv1 Inv1 2006 50
Inv1 Inv1 2007 50
Inv1 Inv1 2008 50
Inv1 Inv1 2009 50
Inv1 Inv1 2010 50
Inv1 Inv1 2011 50
Inv1 trust Inv1 2010 25
Inv1 trust Inv1 2011 10
Table: Title
Investor Inv Short Name Promote Date Promote Title
Inv1 Inv1 1/1/2002 Analyst
Inv1 Inv1 5/18/2005 Director
Inv1 Inv1 12/25/2009 Managing Director
The report is grouped based on a formula called Investor_Name which is as follows:
if(isnull({Carry.Investor Short Name})
or{Carry.Investor Short Name}=""
or{Carry.Investor Short Name}="'")
then {Carry.Investor}
else {Carry.Investor Short Name}
This is used to combine the report for Inv1 and Inv1 trust. The report is grouped by:
Investor_Name, and Year.
I have the tables linked together via Investor and Inv Short Name. The dist amount I am showing is coming out perfectly, in the last column of the report, I would like to show the year at which the employee is promoted so that the report looks something like this:
Investor Year Distr Title
Inv1 2002 100 Analyst
Inv1 2003 100 Analyst
Inv1 2004 100 Analyst
Inv1 2005 50 Director
Inv1 2006 50 Director
Inv1 2007 50 Director
Inv1 2008 50 Director
Inv1 2009 50 Managing Director
Inv1 2010 75 Managing Director
Inv1 2011 60 Managing Director
How can this be done? Currently, only the latest title is coming up on the report. The data is shown on the 2nd group footer (by year). Any help is greatly appreciated!
I have two tables in a subreport that look like this:
Table: Carry
Investor Inv Short Name Year Distr
Inv1 Inv1 2002 100
Inv1 Inv1 2003 100
Inv1 Inv1 2004 100
Inv1 Inv1 2005 50
Inv1 Inv1 2006 50
Inv1 Inv1 2007 50
Inv1 Inv1 2008 50
Inv1 Inv1 2009 50
Inv1 Inv1 2010 50
Inv1 Inv1 2011 50
Inv1 trust Inv1 2010 25
Inv1 trust Inv1 2011 10
Table: Title
Investor Inv Short Name Promote Date Promote Title
Inv1 Inv1 1/1/2002 Analyst
Inv1 Inv1 5/18/2005 Director
Inv1 Inv1 12/25/2009 Managing Director
The report is grouped based on a formula called Investor_Name which is as follows:
if(isnull({Carry.Investor Short Name})
or{Carry.Investor Short Name}=""
or{Carry.Investor Short Name}="'")
then {Carry.Investor}
else {Carry.Investor Short Name}
This is used to combine the report for Inv1 and Inv1 trust. The report is grouped by:
Investor_Name, and Year.
I have the tables linked together via Investor and Inv Short Name. The dist amount I am showing is coming out perfectly, in the last column of the report, I would like to show the year at which the employee is promoted so that the report looks something like this:
Investor Year Distr Title
Inv1 2002 100 Analyst
Inv1 2003 100 Analyst
Inv1 2004 100 Analyst
Inv1 2005 50 Director
Inv1 2006 50 Director
Inv1 2007 50 Director
Inv1 2008 50 Director
Inv1 2009 50 Managing Director
Inv1 2010 75 Managing Director
Inv1 2011 60 Managing Director
How can this be done? Currently, only the latest title is coming up on the report. The data is shown on the 2nd group footer (by year). Any help is greatly appreciated!