From the help for @Setfield I found this:
This code, when used in a view action button, deletes fields x_1 through x_20 in the selected document.
@For(i := 1; i <= 20; i := i + 1;
@SetField("x_" + @Text(i);@DeleteField));
I'm not iterating through a bunch of fields but @SetField(@ThisName;@DeleteField) would appear to be allowable code. I guess the question might be if it can be done as an @Return(@SetField(@ThisName;@DeleteField))
Also did this
@If(WFSStatus != "Draft";@Do(@SetField(WFSDraftReaders;@DeleteField);@Return(""));"");
and this
@If(WFSStatus != "Draft";@Do(FIELD WFSDraftReaders := @DeleteField ;@Return(""));"");
I wouldn't think this would be this hard!