chrisppppp
MIS
Crystal XI
Hi, in my main report i've got a list of transactions, in my sub report i've got a list status's associated with them transactions and the subreport is linked to the main report by AccountID.
What i'm trying to do is make sure that the parameter ran in the main report runs for the same period in the sub report so that the data off of both reports is for the same period. So what i've done is in the subreport links i've selected the parameter {?QuoteDate} is equal to {@Quote Date} in the subreport. When i run this for say Jan this year, the main report seems to run ok, but the subreport just reports for everything ever. I'm i doing this incorrectly or is there a better method? Do i need to seperate out the Quote Date into Min and Max Quote Date Parameters and then do a formula like this in my select expert in my subreport:
{@Quote Date} in {?Pm-?MinQuote Date} to {?Pm-?MaxQuote Date}
Cheers
Hi, in my main report i've got a list of transactions, in my sub report i've got a list status's associated with them transactions and the subreport is linked to the main report by AccountID.
What i'm trying to do is make sure that the parameter ran in the main report runs for the same period in the sub report so that the data off of both reports is for the same period. So what i've done is in the subreport links i've selected the parameter {?QuoteDate} is equal to {@Quote Date} in the subreport. When i run this for say Jan this year, the main report seems to run ok, but the subreport just reports for everything ever. I'm i doing this incorrectly or is there a better method? Do i need to seperate out the Quote Date into Min and Max Quote Date Parameters and then do a formula like this in my select expert in my subreport:
{@Quote Date} in {?Pm-?MinQuote Date} to {?Pm-?MaxQuote Date}
Cheers