WhilePrintingRecords;
Not OnFirstRecord;
if not({Command.RANK}= 3 and previous ({Command.RANK})=2)
and ({Command.TRAN_CODE} = '28') or
not({Command.RANK}= 3 and previous({Command.RANK})=2 and
{Command.TRAN_CODE} <> previous({Command.TRAN_CODE}))then
numbervar mytot:=mytot+{Command.APPROVED}%Sum ({@po}, {Command.RCVR})
how can i fix my division by zero error
Not OnFirstRecord;
if not({Command.RANK}= 3 and previous ({Command.RANK})=2)
and ({Command.TRAN_CODE} = '28') or
not({Command.RANK}= 3 and previous({Command.RANK})=2 and
{Command.TRAN_CODE} <> previous({Command.TRAN_CODE}))then
numbervar mytot:=mytot+{Command.APPROVED}%Sum ({@po}, {Command.RCVR})
how can i fix my division by zero error