Name : String;
The Name field determines the name of a text field.
The following example assumes that there is the Report object with the IPrxReport type.
Sub Main;
Var
Report: IPrxReport;
Doc : IPrxDocument;
TFs : IPrxTextFields;
i : Integer;
Begin
Doc := Report.Sheets.Item(1) As IPrxDocument;
TFs := Doc.TextFields;
For i := 0 To TFs.Count-1 Do
TFs.Item(i).Name := "Field " + i.ToString;
End For;
End Sub Main;
After executing the example the values of text fields are changed.
See also: