Hi,
I am trying to summ the group counts using the formula below. I am getting a syntax error on the forth line. Can anyone spot it? Also is this a valid approach?
numbervar Payor_Tot := 0;
stringvar Payor := {ctc_ins_dnl_rsn_lu.NAME};
if Payor = {ctc_ins_dnl_rsn_lu.NAME} then
Payor_Tot := Payor_Tot + 1;
else
Payor := {ctc_ins_dnl_rsn_lu.NAME};
Payor_Tot := 0;
Payor_Tot := Payor_Tot + 1;
Payor_Tot;
Thanks a lot.
Mo
I am trying to summ the group counts using the formula below. I am getting a syntax error on the forth line. Can anyone spot it? Also is this a valid approach?
numbervar Payor_Tot := 0;
stringvar Payor := {ctc_ins_dnl_rsn_lu.NAME};
if Payor = {ctc_ins_dnl_rsn_lu.NAME} then
Payor_Tot := Payor_Tot + 1;
else
Payor := {ctc_ins_dnl_rsn_lu.NAME};
Payor_Tot := 0;
Payor_Tot := Payor_Tot + 1;
Payor_Tot;
Thanks a lot.
Mo