celldata = ""; RecordList = ""; RecordListCount = 0; // Set cell value to record list RecordList = request.datasheet.currentColumnValue; if ( LEN(TRIM(RecordList)) ) RecordListCount = ListLen(RecordList,","); if ( RecordListCount EQ 0 ) RecordList = "[NONE SELECTED]"; else if ( RecordListCount GT 1 ) RecordList = REREPLACE(RecordList,",","
","all"); RecordList = REREPLACE(RecordList,"[\s]"," ","all");
#RecordList#