OpenReport

<< Click to Display Table of Contents >>

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

OpenReport


 

Daily/Monthly/Yearly ReportOpen reports created on the server in external applications.

 


syntax

OpenReport (

         fileType,

         reportType,

         date

         [,bCreateFile = FALSE]

         [,bWithoutComplete = TRUE]

         )

 


Parameters

 

fileType


Type:

character


Type of file.

"master" - Master file (text file)

"excel" - Excel file

"text" - text file

"html" - HTML files

"xml" - XML file

 

reportType


Type:

character


The type of report file.

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

 

date


Type:

time


The date of the report you want to open.

 

bCreateFile


Type:

Boolean


Create a report.

 

bWithoutComplete


Type:

Boolean


Valid when bCreateFile is TRUE.

TRUE - Do not create a report file if the report has already been compiled.

FALSE - Recreate the report file even if the report has already been compiled.

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 


reference