TextFields : IPrxTextFields;
The TextFields property returns the collection of text fields.
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).Value := TFs.Item(i).Name;
End For;
End Sub main;
After executing the example the values of text fields are changed.
See also: