ReceiveReport

<< Click to Display Table of Contents >>

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

ReceiveReport


 

Receive the report file from the server.

 


syntax

ReceiveReport(

         fileName,

         fileType,

         reportType,

         date

         [,bCreateFile = FALSE]

         [,bWithoutComplete = TRUE]

         )

 

 


Parameters

 

fileName


Type:

character


The file name to save after receiving. If you want to save the file with the same name as the file saved on the server, specify "*".

Example) "c:\report\*"

 

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 for which you would like to receive the report.

 

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:

character


The name of the file actually saved. If an error occurs, the empty string "".

 

 


hmtoggle_plus1Explanation

 

 


reference