XochisSketches
02/02/2022, 8:02 PMCASE WHEN {custrecord_customcheckbox} = 'F' THEN 'Create' ELSE 'Update' END
.
The checkbox in question is unchecked, but this column keeps returning 'Update' in the results.....anyone have any ideas?scottvonduhn
02/02/2022, 8:17 PMCASE WHEN {custrecord_customcheckbox} = 'T' THEN 'Update' ELSE 'Create' END
Or, you can use OR, NVL, or COALESCE to handle both 'F' and NULL the same:
CASE WHEN NVL({custrecord_customcheckbox}, 'F') = 'F' THEN 'Create' ELSE 'Update' END
CASE WHEN {custrecord_customcheckbox} = 'F' OR {custrecord_customcheckbox} IS NULL THEN 'Create' ELSE 'Update' END
Any of those should work, but I tend to go with the first option in my own formulas.XochisSketches
02/02/2022, 8:43 PMXochisSketches
02/02/2022, 8:44 PMShawn Talbert
02/03/2022, 3:47 AM