CreateSubReport

<< Click to Display Table of Contents >>

Manual > Control Reference > Data > Daily report grid control > Method >

CreateSubReport


 

Daily/Monthly/Yearly ReportInstructs the server to create a subreport.

 


syntax

CreateSubReport(

         reportType,

         startDate,

         [,endDate]

         [,subReportIndex = ""]

         )

 


Parameters

 

reportType


Type:

character


The type of report file.

"day" - Daily report "month" - Monthly report "year" - Annual report

 

startDate


Type:

time


The start date for the subreport you want to create.

 

endDate


Type:

time


End date of the subreport you want to create. If omitted, only the date specified in the start date will be created.

 

subReportIndex


Type:

character


Subreport index. The index is a number assigned starting from 1 in the order in which the subreports are set. If omitted, all subreports will be generated. To specify multiple indexes, separate the indexes with ";". Example: "1;3".

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 

 


reference