Deselect (empty) a lookup field
in On Edit / On Success of Form A I can manipulate a field (lookup/single-select) in Form B like this:
rec = formB [ID == 12345];
rec.lookupfield = "option 1"
... as long as 'option 1' is a valid selection in this field.
But how do I empty the field (it is not a required field)?
These 3 do not work:
rec.lookupfield = null;
rec.lookupfield = "";
rec.lookupfield = "-Select-";
Any suggestions?