Using the Properties dialog, you can use macros in your report template to automatically insert dynamic information, such as the name of the current model, the current date, your organization name, and the author name. Macros can be used in the title, header, and footer of your report. The following describes the Report Template Builder macros that are available:
|
Macro |
Description |
|
%Model |
Model name |
|
%Organization |
Organization name |
|
%Author |
Author |
|
%DayA |
Abbreviated weekday name |
|
%DayF |
Full weekday name |
|
%DayD |
Day of month as a decimal (0-31) |
|
%MonthA |
Abbreviated month name |
|
%MonthF |
Full month name |
|
%MonthD |
Month as a decimal |
|
%Year |
Year as a decimal |
|
%Second |
Second as a decimal (00-59) |
|
%Minute |
Minute as a decimal (00-59) |
|
%Hour24 |
Hour in 24-hour format (00-23) |
|
%Hour12 |
Hour in 12-hour format (01-12) |
|
%Local |
AM or PM based on local time |
| Copyright © 2009 CA. All rights reserved. | Email CA about this topic |