Special Report Variables
You can use the following predefined report variables to generate and print such items as page numbers and the date and time a report is run, or to control the report layout.
page_number
Current page number in the report--pages number from 1
line_number
Current line number on the page--starts at 1
position_number
Current column position on the page--starts at 0
page_length
Current length of the page
page_width
Current width of the report
left_margin
Current left margin column position.
right_margin
Current right margin column position
current_date
Date when report is run. This does not include the time component. For full date and time, use current_time.
current_day
Day of the week when report is run, in the form of a three-character string (for example, Mon or Fri).
current_time
Complete date and time of day when report is run
w_name
Name of the column currently being used in a within block, in the form of a string.
w_column
Value of the w_name column in the data row currently being processed.