Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Pagination and date format
nicky29
Hello,
I'm new to BIRT and I have two questions:
1) I need to create pagination in my report, but i don't know how to do this.
For example i want to display anywhere page "1 of 2" or "1/2".
2) I want to display current date in my report using a dynamic text property. The text must be:
"Date: dd.MM.yyyy Time: hh:mm" How can i do this?
Thanks in advance!
Find more posts tagged with
Comments
mwilliams
Hello nicky29,
1) Click on the masterpage tab under the design window. Delete the date text box from the masterpage footer. Drag the page n of m auto text over from the palette to the footer. That should do it.
2) If you use a data binding of type dateTime, you can use an expression of new Date() and then in the property editor for the data element, there will be a format datetime section where you can define a format for the date.
Hope this helps.
nicky29
2) I have used a html text block: <br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
Data: <VALUE-OF format='dd.MM.yyyy'>BirtDateTime.now()</VALUE-OF>
Ora: <VALUE-OF format='hh:mm'>BirtDateTime.now()</VALUE-OF></pre>
Thanks a lot!
mwilliams
Not a problem! Let us know whenever you have questions!