This topic is locked
[SOLVED]

 Print Date on Reports

1/25/2011 12:40:28 PM
ASPRunnerPro General questions
S
StockHammer author

Hey
Is their a way to add a date to a report header when exporting to Word or when you print. There is all kinds of great information that is printed out on the reports, except for a printed date.
Thanks

Sergey Kornilov admin 1/25/2011

You cannot modify export format however printer-friendly page can be modified.
Proceed to Visual Editor, open report Printer-friendly page, put cursor where you need to insert the date and switch to HTML mode.
In HTML mode insert the following code snippet:

{$mymessage}


It will appear as a yellow rectangle in visual mode.
Then proceed to Events Editor and add the following code to Printer-frieldly page: Before display event.

xt.assign "mymessage",now()


This is it.

S
StockHammer author 1/26/2011



You cannot modify export format however printer-friendly page can be modified.
Proceed to Visual Editor, open report Printer-friendly page, put cursor where you need to insert the date and switch to HTML mode.
In HTML mode insert the following code snippet:

{$mymessage}


It will appear as a yellow rectangle in visual mode.
Then proceed to Events Editor and add the following code to Printer-frieldly page: Before display event.

xt.assign "mymessage",now()


This is it.


Ahhh... Thanks!!