Posts

Showing posts from January, 2010

Sorting again

Image
Lots of BIP posts to be done, keeping myself busy nowdays. Someone Was wondering in forum, need Explanation on how to use variable in sorting. Well have a look at explanation on Forum to Sorting on template Why not this way ? 1st option: <?for-each:employee?> <?sort: department?> 2nd option: You got to understand, if you assign a value to a variable , its a string 'department' which is being assigned. what you are doing is using a variable in sorting which has string in it, but sort is expecting a element name from the current looping context well, you can do all various complex sorting.. if you have requirement clearly. ex. without changing sort code inside the loop, we can change the sorting column by parameterizing or hard coding at global level. here is the example.

page total.

Image
Running Page total How to get a running page total in BIP? Inside the loop, create and add the page-variable <?add-page-total:pt; 'VAL' ?> And in the footer add the text to show the page level total. <?show-page-total:pt; "99G999G999D00" ?> here is the sample example of all Sub template page total pagebreak