HotDocs Tips & Tricks

Tips, tricks and solutions with the HotDocs document assembly platform
Tuesday, July 07, 2009

FORMAT “LIST FORMAT”


Another HotDocs instruction model that does exactly what it sounds like, FORMAT allows you to specify the formattin of a “list style” RESULT.  Rather than explain, I’ll simply provide 2 examples which demonstrates everything you’ll ever need to know about FORMAT.

Lets have a repeating dialog named “Party RPT” that has a single variable on it - PARTY Name TE.  Lets produce some differing results with FORMAT, presuming that we have 3 names in our list:

Example #1

""
REPEAT Party RPT
FORMAT 
"a, b and c"
 
RESULT PARTY Name TE
END REPEAT
//the RESULT is Seth Rowland, Rose Rowland and Ian Burrows

Example #2

""
REPEAT Party RPT
FORMAT 
"a-b-c"
 
RESULT PARTY Name TE
END REPEAT
//the RESULT is Seth Rowland-Rose Rowland-Ian Burrows

All it is doing is specifying the format in which a list style result is accumulated and represented.

Posted by Ian Burrows
Page 1 of 1 pages

Statistics

Page Views: 25433
Page rendered in 0.3461 seconds
34 queries executed
Total Entries: 167
Most Recent Entry: 07/23/2010 04:36 pm
Total Members: 5
Total Logged in members: 0
Total guests: 17
Most Recent Visitor on: 09/03/2010 07:35 am
Most visitors ever: 33 on 09/02/2010 03:50 pm