Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I've been trying to get terms and conditions (same for every page) after every page of report .
Means every alternate page should be terms and conditions page(2,4,6..)

The sections are ..

Report Header
Page Header
Group Header 1
Group Header 2
Group Header 3
Group Header 4
Details
Group Footer 1
Group Footer 2
Group Footer 3
Group Footer 4
Report Footer
page Footer

how can i do this..thanks in advance.
Posted

1 solution

add a section below page header suppose it's "page header - b"
now create textbox in "page header - b" and paste terms & condition text in that
now right click "page header - b" and open property
in suppress formula window put below formula...
C#
iif(pagenumber mod 2 = 0, false, true)

and set new page page after formula same way for that section
save...
Run...


if you want that after completion of a group 1 detail you want to show terms & condition then visit apprved solution of below link...
http://stackoverflow.com/questions/3199339/crystal-reports-how-to-suppress-a-page-header-on-the-first-page-of-a-group[^]

Happy Coding!
:)
 
Share this answer
 
v3
Comments
DileepkumarReddy 22-May-13 9:28am    
Hi, all other sections are also displayed along with textbox content..that too on
1st ,3rd,5th ....pages.What i want is ..only text should come on 2nd,4th,6th pages respectively.
Aarti Meswania 22-May-13 9:29am    
oh yes I have pdate solution please check...
DileepkumarReddy 22-May-13 9:34am    
But New Page After is disabled..
Aarti Meswania 22-May-13 9:48am    
ok then...
iif(pagenumber mod 2 = 0, true, false) in other sections suppress formula
DileepkumarReddy 22-May-13 9:57am    
Hi,its not working the way it has to be..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900