![]() ![]() We decided number of records that we want per page and based on that we have to insert page breaks. Page Break after every nth row : After every 46th record we want to give a page break. This will count number of A tags coming in data, and assign that value to TOTLINES variable.ģ. ![]() Assign that value to variable TOTLINESĬonsider that records are coming inside A node(refer to sample data above), like for 4 records there will be 4 A nodes present in data. Calculate total number of lines : Total number of lines coming in data can be calculated by using count() function on particular node. Declare number of lines per page in a a variable nlppĢ. Lets say after the header which I have decided(refer Fig1) a page can accommodate 46 records. Number of lines that need to be displayed per page has to be decided based onĬreate a simple for-each loop in table to find out how many rows a page can accommodate and assign that value to the variable nlpp. Decide Number of lines per page : There is no formula that works for all scenarios. Use this inside inline IF condition to give appropriate page breaks.ġ. Other declarations can be entered like normal text, but this tags should be put in Word Form field tag. How to use Page Breaks?Below tags work only in Word form field. ![]() Parameters for foreach_number function are same like C programming for loop - initial value, end value and increment value
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |