Returns a list of all the fields in a document.
@DocFields
fields
Text list. Each item in the list is the name of a field on the document.
This function works in any formula that runs in the context of one or more documents. It does not work in column and view selection formulas.
After a document is saved, the returned list includes some of the internal Notes fields, such as the Form field, that is added by Lotus Notes to a form when it is saved or the $Links field, that indicates that the form contains a link to another document or database.
Fields property of LotusScript NotesForm class
Fields property of Java Form class
See examples