celldata = "";
BooleanRecord = false;
// If boolean set cell value to BooleanRecord, else BooleanRecord will be false
if ( IsBoolean(request.datasheet.currentColumnValue) )
BooleanRecord = request.datasheet.currentColumnValue;
if ( BooleanRecord IS true )
BooleanRecord = "YES";
else
BooleanRecord = "NO";
#BooleanRecord#