jadeReportWriterParamObjects

jadeReportWriterParamObjects(className:     String;
                             reportName:    String;
                             parameterName: String): ObjectArray;

The jadeReportWriterParamObjects method of the Application class is called by the Jade Report Writer Designer application to return an array of objects from which a user can select an object as a parameter for a report.

The value of the parameterName parameter is the name of the object parameter defined in the report specified by the value of the reportName parameter.

The value of the className parameter specifies the class of defined for the object parameter.

The following example shows a jadeReportWriterParamObjects method for a report that prints or extracts data on the monthly sales of a branch of a company. When the report is run, the user selects a branch from the object array returned by the jadeReportWriterParamObjects method.

begin
    if className = "Branch"
    and reportName = "Monthly Branch Report"
    and parameterName = "branch" then
        return app.myCompany.allBranchesArray;
    endif;
end;

Reimplement this method in the Application class of your schemas if your want to reference the name of the application in which the report is running.