I have created a report that has two dates from separate tables. The first date is a minimum scheduled date, and the second date is a maximum date served. I don't want to print records where the first date is greater than the second. The dates are set up like this:
@sharing=
WhilePrintingRecords;
Minimum({Scheduler.ToDate},{People.Name})
@activity=
WhilePrintingRecords;
Maximum({TrxMaster.TrxDate},{People.Name})
so I set up the formula:
if(@sharing > @actvity) then 0
else 1
I placed this in the detail of the report, and the field comes up blank.
What am I doing wrong?
@sharing=
WhilePrintingRecords;
Minimum({Scheduler.ToDate},{People.Name})
@activity=
WhilePrintingRecords;
Maximum({TrxMaster.TrxDate},{People.Name})
so I set up the formula:
if(@sharing > @actvity) then 0
else 1
I placed this in the detail of the report, and the field comes up blank.
What am I doing wrong?