AddMyReport()

Examples


The AddMyReport() function of the syMyReportsObj form adds a report item to the My Reports section of the template Home Page for a user.

Syntax

AddMyReport(report_data {,sequence_number})

Parameters

report_data – A composite of type syReportData that specifies characteristics of the report item to be added to the Home Page. Refer to syReportData for a description of this composite.

sequence_number – An optional returned long integer that contains the sequence number assigned to the report item.

Return value

An integer indicating whether the report item was added. The constant value OKAY indicates it was, while any other value indicates it was not.

Comments

When you add a report using this function, it will also be included in the Report List displayed for the user.


Documentation Feedback