Hi,
I have many unused fields in my domino database. They are no more attached to a form.
How can I delete all those unused fields ( not only the values contained in them ).
dd
Hi,
I have many unused fields in my domino database. They are no more attached to a form.
How can I delete all those unused fields ( not only the values contained in them ).
dd
Subject: Unused fields
If have identified all your unused fields in your docs, make a temporary agent with follow code:
FIELD unusedfield:=@DeleteField;
of course you know if your agent must run over all docs in your database or only select docs.
Subject: RE: Unused fields
@DeleteField seems to just change the value of a field to it’s default value? Is there any to actually remove the field from the document?
Subject: RE: Unused fields
If there is a “default value”, there must still be a field on the form. Get rid of that, then execute the agent, then compact. So long as the field is on the form, you won’t be able to get rid of it from the UNK table.
Subject: Unused fields
Compact the database (copystyle), this will remove the old field definitions. To delete the values in the fields, you need to write an agent.
cheers,
Tom