PrintReport

<< Click to Display Table of Contents >>

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

PrintReport


 

Daily/Monthly/Yearly ReportInstruct the server to print the report.

 


syntax

PrintReport(

         reportType,

         startDate

         [,endDate = StartDate]

         [,printNo = 0]

         [,bCreateFile = FALSE]

         [,bWithoutComplete = TRUE]

         )

 


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 report to be printed.

 

endDate


Type:

time


End date of the report to be printed. If not specified, it will be the same as the start date.

 

printNo


Type:

Number


Printer number from 1 to 3. 0 is the default printer. Printer settings are done on the server.

 

bCreateFile


Type:

Boolean


Create a report.

 

bWithoutComplete


Type:

Boolean


Valid when bCreateFile is TRUE.

TRUE - If the report has already been compiled

Do not create a report file.

FALSE - Even if the report has already been compiled

Recreate the report file.

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 


reference