hello all,
iam working on crystalreports 9,oracle 10g.
i have to get lastyear total amount i.e from jan-1-2005 to
dec-31-2005, if when i run the report on jan-02-2006.
i have given formula as below,
if
(
{DISBURSEMENTS.ACTUAL_DISB_DATE} in YearToDate
and {DISBURSEMENTS.ACTUAL_DISB_DATE} <= maximum(lastfullmonth)
)
then {DISBURSEMENTS.DISB_AMOUNT}
or
(
{DISBURSEMENTS.ACTUAL_DISB_DATE}>= lastyearytd
and {DISBURSEMENTS.ACTUAL_DISB_DATE} <= maximum(lastfullmonth)
)
then {DISBURSEMENTS.DISB_AMOUNT}
its giveing error in formula.
i have to run this report every month.
help requested..
thank you.
iam working on crystalreports 9,oracle 10g.
i have to get lastyear total amount i.e from jan-1-2005 to
dec-31-2005, if when i run the report on jan-02-2006.
i have given formula as below,
if
(
{DISBURSEMENTS.ACTUAL_DISB_DATE} in YearToDate
and {DISBURSEMENTS.ACTUAL_DISB_DATE} <= maximum(lastfullmonth)
)
then {DISBURSEMENTS.DISB_AMOUNT}
or
(
{DISBURSEMENTS.ACTUAL_DISB_DATE}>= lastyearytd
and {DISBURSEMENTS.ACTUAL_DISB_DATE} <= maximum(lastfullmonth)
)
then {DISBURSEMENTS.DISB_AMOUNT}
its giveing error in formula.
i have to run this report every month.
help requested..
thank you.