Domino Code Fragment

Code Name*
Deleting Fields Permanently From a Database
Date*
04/28/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.18.223.171.12
Description*
If you are looking for a clean and easy way to delete "obsolete" fields from the listing of available fields for a given database, follow this tip.
Type*
Formula
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Files/Graphics attachments (if applicable): Code:
1) If you have documents that contain that particular field then you must remove the field from the documents in question. You can achieve this with a macro that performs a

FIELD [fieldname] :=@DeleteField.

2) When all documents are free of the offending field, it should disappear when you compact the database.