Home > database > How to print each page data window is not peer number?
How to print each page data window is not peer number?
Time:10-22
A data window and get some values, which product code column for discrete values, since the childhood, roughly as shown in figure , now I will give the data window for printing, according to the product code will play to the first page of 1 to 15, 16 to 25 to print the second page, 26 to 35 to print on the third page, how this to print it? Or how to implement the first page in the data window display code 1 to 15, 16 to 25, the second page shows the third page shows 26 to 35?
CodePudding user response:
Or how to implement the code displayed on the first page, less than 10 code is more than 10 and less than 20 displays in the second page, and so on, note: although every 10 code displayed on a page, but due to the code of discontinuity, so each page shows the number of rows will be different, so how to do?
CodePudding user response:
Step 1: add a computed column, the computed column must be in the Detail section, the input Expression: between (getrow ()/30) & lt; - 30 can also use the global function to replace here, so we can allow the user to any set print how many rows per page,
- step 2: define grouping, select menu Rows - & gt; The Create Group...
Group, according to the calculated column fields, and certainly will check box - & gt; New Page On Group Break selected,
- the third step: will the computed columns set as invisible,
CodePudding user response:
With product code divided by 10 computed columns, as a condition of group, it is ok to