Hi, I want to display some information like page header title then i want to display details with on condition if condition is true then i want to display each item on individaual page and if false the i want to display all items on same page and at last total amount(if the condition is false) Example---> if true ------------------------------------------ No. 1 Date 23-Nov ------------------------------------------ Fund Admin 30000 ----------------------------------------- Thanks ----------------------------------------- 1 Page of 2 ------------------------------------------ No. 1 Date 23-Nov ------------------------------------------ Security 50000 ----------------------------------------- Thanks ----------------------------------------- 2 Page of 2 Example--> if false ------------------------------------------ No. 1 Date 23-Nov ------------------------------------------ Fund Admin 3000 Security 50000 Total 80000 ----------------------------------------- Thanks ----------------------------------------- 1 Page of 1 I what should i do for that . Please advice me. Thanks in Advance.....