‎2007 Jan 09 6:05 AM
Hi,
i have small doubt in table creation of Smart Forms.
If the no of records in Table are less than the page size.
how to increase the table view till end of the page or till footer?
the table shoould be displayed till fully not truncated upto the no of records
Thanks
Shiva
‎2007 Jan 09 6:11 AM
i think table size is depend upon the number of row in table.
for ur requirment u have to increase the size of main window till footer where u used table.
‎2007 Jan 09 6:22 AM
hi shiva wht u want to print at the end of the page...
the table length will be increase automaticallty.. if u want to print any thing in the footer of the Page.. y ahve severl options
1... you can disply it in the another window
2.. u can create temoplate after the table( in the main winodw).. here u can mention the allignment of the templates.
If the above is not clear for u plese explin you query clearly... i think i can solve your problem,
‎2007 Jan 09 6:27 AM
Hi Naresh,
for ex if the records are 10 and the window is of 40 then window will look very different.
I want to see the table till end of window with balnk lines
this is my requirement
Thanks
Shiva
‎2007 Jan 09 6:30 AM
‎2007 Jan 09 6:32 AM
‎2007 Jan 09 6:44 AM
HI,
NORMALLY FOR TABLE IN SMARTFORM IF U NOT DEFINE HEIGHT OF THE TABLE ALSO IT WILL PRINT THE TABLE BCOZ THE HEIGHT OF THE TABLE
IS DETEMINEDN ONLY DEPEND UPON THE RECORD,SUPPOSE U WANT TO
DIPLAY THE TABLE FOR FULL PAGE FOR ONE RECORD U USE
<b>MINIMUM HEIGHT</b> OPTION IN TABLE
‎2007 Jan 09 6:48 AM
‎2007 Jan 09 6:49 AM
shiva we can do this as follows
If we know the max number of line we can print in a puricular page.. then ex.
example maximum 40 lines we can print in a page.. then take thin inot a variable calle <b>v_max_line = 40</b>.
Find the number of record in Internal talbe example <b>v_tabl_line = 10</b>.
v_emtty = v_max_line - v__tabl_line .
now v_empty is 30.
..............
now create a "LOOP" in the "footer" part of the TABALE.
in this loop insert a table line .
take one temparary variable.. increase the value of the "v_temp" veriable "calculation" part ofth "LOOP".
In conditions of the LOOP : give that.. v_temp < v_EMPTY.
Note: dont forget to insert a text elemetn in the line type of the footer "LOOP". in the Text elemtn write &space&.
so that all the blank lines will be printed after the end of the table.
‎2007 Jan 09 6:54 AM