How to: Add User Data to Report Controls
You can add user-defined data to a report control. User-defined data appears in the USER field of the report structure table (.frx or .lbx) and does not appear in the rendered output.
You can make use of the contents of the USER field in methods of a Reportlistener object when running a report or label in object-assisted mode. For more information, see Understanding Visual FoxPro Object-Assisted Reporting.
To add user-defined data to a report control
Open the report or label in the appropriate designer.
In the designer, double-click the report control to which you want to add user data.
The properties dialog box for the report control opens.
Note
If the _REPORTBUILDER system variable is not set to the default Report Builder or is set to a third-party builder, the report control dialog box displays or a different dialog box might display. For more information, see _REPORTBUILDER System Variable.
Note
The dialog box that appears when there is no report builder set does not include the ability to edit the user-defined data.
In the report control properties dialog box, click the Other tab if it is not selected.
In the User data area, click Edit user data.
The user data dialog box for the report band opens.
In the user data dialog box, type the user-defined data you want for the report control.
When you are finished, click OK.
For more information, see Other Tab, Report Control Properties Dialog Box (Report Builder).
See Also
Tasks
How to: Add Comments to Report Controls
Other Resources
Managing Report Controls
Configuring Report Controls
Working with Report Controls