Skip to Content
0
Former Member
Jul 22, 2009 at 05:36 AM

pagebreak while printing

15 Views

Hi Experts,

I am using print fuctionatily in my application.I have totally 17 records in my table and i am printing the 13 records in

page1 and remaining 4 reocrds in page2 thorugh this below code.

int 1= wdcontext.nodetable.size();

if(i==13)

{

Pagebreak;

}

In development i have maximum 17 records and i dont know how many reocrds are there in production .Now i need to change my code to for every 13 records i want pagebreak.For ex if table have 60records than every 13 record and 26 record and 43 record i need page break.

Could any one help me out..

Regards,

Suresh