In my report header, I have formula called as EndDate
whileprintingrecords; dateVar maxdate;
maxdate := date(Maximum ({sp_outstanding_balance;1.setup_date}));
maxdate;
In my details, I have the formula cal_30_day as follows:
dateVar maxdate;
numberVar Num_of_days := maxdate - {sp_outstanding_balance;1.setup_date};
if Num_of_days < 31 then
{sp_outstanding_balance;1.balance}
else
0;
The problem is in details section, it is not catching the value of maxdate calculated in report header section. WHY???
Please help...
whileprintingrecords; dateVar maxdate;
maxdate := date(Maximum ({sp_outstanding_balance;1.setup_date}));
maxdate;
In my details, I have the formula cal_30_day as follows:
dateVar maxdate;
numberVar Num_of_days := maxdate - {sp_outstanding_balance;1.setup_date};
if Num_of_days < 31 then
{sp_outstanding_balance;1.balance}
else
0;
The problem is in details section, it is not catching the value of maxdate calculated in report header section. WHY???
Please help...