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 EQ 1 )
RecordList = " ";
else if ( RecordListCount GT 1 )
RecordList = "All";
RecordList = REREPLACE(RecordList,"[\s]"," ","all");
#RecordList#