Renaming a field with an agent

Hi everybody.

I have a little problem. Some documents of my database have been created with a bad filed name, i.e. with a field containing an accent ! :expressionless: I would like to create an agent that would select the rights document (a document collection for example) then would replace the field name “Début” with “Debut”. Is it possible ?

Thank you for any help.

John Blatt

Subject: Renaming a field with an agent

@If(!@IsAvailable(Début);@Return(“”);“”);FIELD Debut := Début;

Field Début := @DeleteField

Subject: One minor change to that. Agent Run on all documents in Db

SELECT @IsAvailable(Début);FIELD Debut := Début;

Field Début := @DeleteField