on 03-09-2009 5:17 PM
Hi Guys,
In one of the smartform there is a MAIN WINDOW, in which a table will be displayed with 3 or 4 entries for each material. ( so that atleast 3 tables are displyed on a single sheet)
Some times if the space is not enough in the main window to display the contents of the table, the contents will be displayed in the next page. (Eg - 1 entry at the end of the page with the header at the end of the page and remaining entries int he next page with the header, which is satisfying the client's requirement)
Problem is some times only header gets displayed at the end(end of the main windw), but so space is avaliable to display the contents, so the contents will be displayed in the next page with the header again,
so the end user will be seeing a header at the end of the page with no contents,
Is there any way to solve this(Not to dislay the header if the contents of the table cannot be displyed)
Is there a way to find the remaining space in the main window dynamically so that if i am able to find the remaining space is JUST 1 LINE ( or CM or INCHES), then I can put a condition for not displaying the header).
Regards,
Naveen.
Hi,
In the output options you have a checkbox with page protection. This ensures you that that part will be printed together at 1 page.
Gr, Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in main window you have table in this table the options are
HEADER
MAIN AREA
FOOTER
if you click the FOOTER in the right hand side you have OUTPUT OPTIONS
here you find the FOOTER WITH HIGHT , there normally its have 1--LN here you can change the hight like 0.01 MM, so that you wont find the space...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In smartforms, there is no other way to find the remaining height of the main window on a page.
Hence, another way to solve this is to restrict the contents of the table with templates designed such a way that if there is header and items then display exactly a set of rows which would fit clearly on a page.
Also make the folder as page protected.
This is tedious but there is no other way i think as we also faced similar kind of issue.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
To get the header in the main window,
use
/: TOP
"*** header details
/: ENDTOP
for footer details
/: BOTTOM
"*** Footer details
/: ENDBOTTOM
"write all other details
Regards,
Siddarth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.