Spencer21128
Programmer
Hello All,
I am new to SAP Business Objects. I created a report, and using the Variable Editor, I am combining 4 columns into one column with a comma between each value. The problem I'm having is...where ever there is a null value, do not show the blank field and the comma.
This is what I have in the variable editor.
=If([Course Section Type 1] > "";[Course Section Type 1]+", "+[Course Section Type 2]+If([Course Section Type 3] > "";","+[Course Section Type 3];"")+", "+[Course Section Type 4])
This is what the crs_typ column look like.
DD,FR,
FR,GT,DG,
IU, ,
The bottom line is....If the last value is not blank then the comma should not be there.
Any help would be greatly appreciated.
I am new to SAP Business Objects. I created a report, and using the Variable Editor, I am combining 4 columns into one column with a comma between each value. The problem I'm having is...where ever there is a null value, do not show the blank field and the comma.
This is what I have in the variable editor.
=If([Course Section Type 1] > "";[Course Section Type 1]+", "+[Course Section Type 2]+If([Course Section Type 3] > "";","+[Course Section Type 3];"")+", "+[Course Section Type 4])
This is what the crs_typ column look like.
DD,FR,
FR,GT,DG,
IU, ,
The bottom line is....If the last value is not blank then the comma should not be there.
Any help would be greatly appreciated.