on 11-24-2009 2:49 PM
I have a Smartform with a list of line items. At the top of the page is a header with the column names. Under the column names is a line (Text with General Attributes _____ ). After each line item we print another line. This works fine except when a page break occurs right after the line item details and the line goes on to the next page. Now there are two lines in a row. The one from the header and the one from the line item.
I'm trying to put a condition on the line item line that doesn't print when there is a change in page using SFSY-PAGE and a global variable that holds the page number of the previous line, but its not working.
Any suggestions/ideas?
Use page protection, no need for any logic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The Page protection sounds like it will work for me but my Page Protection option is disabled/greyed out. I did some more searching and this looks like what I need:
Protection against page break for several table lines
- Expand the main area of your table node in the navigation tree.
- Insert a file node for the table lines to be protected in the main area.
- If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&Drop. Otherwise, create the table lines as subnodes of the file.
- Choose the Output Options tab page of the file node and set the Page Protection option. All table lines that are in the file with the Page Protection option set are output on one page.
BUT what in the world is a "file node"? I don't have that option in the create menu.
Though this isn't exactly what you want, can you just use the Page Protection option (on the Output Options tab)?
It would prevent the detail line and the subsequent line from separating during a page break.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.