Need to Remove a Field from Documents

I have a database that has documents containing a field with a bad format (ie. Field := First name) How can I remove this field from the documents? How can I write code that will accept this format?

Subject: Need to Remove a Field from Documents

Formula:FIELD firstName := @DeleteField;

Script:

call doc.RemoveItem(“firstName”)

HTH,

Dan