Progress
Report Builder
User’s Guide
Editing User-defined Functions
You can edit the function name, expression, and parameters. Follow these steps to edit an existing UDF:
- Choose Calculations
User Defined Function. The User Defined Function dialog box appears.
- Select the function you want to edit.
- Choose Edit. The Edit User Defined Function dialog box appears:
![]()
- Edit the function name.
- Select the parameter you want to edit or delete.
- Choose the Edit button to edit the selected parameter or choose the Delete button to delete the selected parameter. When you choose the Edit button, the Edit Parameter dialog box appears. Make the necessary change and choose OK to return to the Edit User Defined Function dialog box.
- Edit the expression in the Expression fill-in field. If your edits change the data type of the UDF’s return value, and it is used in another UDF or a calculated field in the current report, Report Builder displays a list of UDFs and calculated fields that will become unusable as a result of your change.
Choose either Cancel to cancel the change or OK to make the change. If you choose OK, Report Builder flags the affected UDFs and fields with question marks in the field lists. If you use any flagged UDFs or fields in your report, you must correct their expressions before you can run the report.
- Choose Verify to check the expression syntax.
- Choose OK to save the function edits and return to the User Defined Functions dialog box.
- Choose Close to return to the report layout.
Because UDFs can be used in multiple reports, edit them carefully. Report Builder cannot notify you of the effect your change might have on other reports.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |