I would convert the each string value into minutes then subtract to get the result;
@calcMinutes
WhilePrintingRecords;
numberVar totalMinutes;
totalMinutes := tonumber(left({table.timevalue},2) * 60 +
tonumber(right({table.timevalue},2)
totalMinutes;
Jim
JimBroadbent@Hotmail.com