Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8667

Re: Smartform Template creation.

$
0
0

Hi,

 

There are many ways to achieve this but I guess the easiest and the best way (no coding in form) that comes to mind at the moment would be to pass to smartform the data table with 10 initial records (filled APPEND INITIAL LINE to {table name}). Then, in the main part of the table, define an additional row; in the row conditions add a condition {work area name} = INITIAL, and in one cell of the row assign a text having one space (the latter is important because rows not having any content will not be output):

Blank_line.jpg

In the conditions of original row add a condition {work area name} ≠ INITIAL.

 

If all the table fields are character-like and there is no fixed cell contents for normal row, you don't even need the second row - it's just there to avoid challenges with outputting or not outputting 0 values for numeric type fields. I still prefer, however, to make it explicit that there are normal rows and blank rows.

 

cheers

Jānis


Viewing all articles
Browse latest Browse all 8667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>