Hi all,
The following formula is supposed to add up the number of times the following fields have a certain value. So if two of the fields have the value then the value of the field. I am not even getting a zero when testing this and I do have records that have the value in question.
numbervar x:=0;
IF{v_cc_data.cc_segment_number}="2" then x=x+1;
IF{v_cc_data.cc_segment_number2}="2" then x=x+1;
IF{v_cc_data.cc_segment_number3}="2" then x=x+1;
IF{v_cc_data.cc_segment_number4}="2" then x=x+1;
x
The following formula is supposed to add up the number of times the following fields have a certain value. So if two of the fields have the value then the value of the field. I am not even getting a zero when testing this and I do have records that have the value in question.
numbervar x:=0;
IF{v_cc_data.cc_segment_number}="2" then x=x+1;
IF{v_cc_data.cc_segment_number2}="2" then x=x+1;
IF{v_cc_data.cc_segment_number3}="2" then x=x+1;
IF{v_cc_data.cc_segment_number4}="2" then x=x+1;
x