I have a formula in the group header (trip.trip_date) to calculate train with schedule type of extra daily.
whileprintingrecords;
numbervar dailyextra;
if {?TripDate} = {?TripDate} and ({SCHED_MAIN.SCHTYP_SCHEDTYPE_NO} = "EXTRA") then
dailyextra := dailyextra + 1
else
0
When it calculates, i validate it against the data on the system and the calculation is incorrect.
The display formula i use in the report footer is:
whileprintingrecords,
numbervar dailyextra;
Any suggestions would greatly appreciated.
whileprintingrecords;
numbervar dailyextra;
if {?TripDate} = {?TripDate} and ({SCHED_MAIN.SCHTYP_SCHEDTYPE_NO} = "EXTRA") then
dailyextra := dailyextra + 1
else
0
When it calculates, i validate it against the data on the system and the calculation is incorrect.
The display formula i use in the report footer is:
whileprintingrecords,
numbervar dailyextra;
Any suggestions would greatly appreciated.