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