Subject: RE: remove readers field - help
Best thing is to create a formula agent…
Should be:
FIELD readersfieldname:= @DeleteField;
Select @All
(Select @all will be added by notes when you save the agent)
That will completely delete the readersfieldname field, e.g. it won’t exist as blank: it will be gone…
Would have answered sooner but couldn’t log in here, sorry.
See notes help for @DeleteField also, heres a extract just to be helpful:
Example
Deletes the value of an editable field.
Syntax
FIELD fieldName := @DeleteField
Usage
This function works in agent, view action, and toolbar button formulas.
If the field has a default value, the default value is reinstated after this function deletes the current value.
This function is the same as @Unavailable.
Use this function to delete invisible fields from documents, such as fields created using the @SetField function.
IMHO you can ignore the word ‘editable’ in the above help extract: @Deletefield will delete any fields, be they editable, computed, ‘invisible’ etc etc.
Example from the help:
This formula creates a field named NewDate and sets it to today’s date, then removes the field named OldDate from the document.
FIELD NewDate:=@Today
FIELD OldDate:=@DeleteField;