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: 18059
Page rendered in 0.2248 seconds
36 queries executed
Total Entries: 154
Most Recent Entry: 03/12/2010 07:07 pm
Total Members: 5
Total Logged in members: 1
Total guests: 15
Most Recent Visitor on: 03/12/2010 07:15 pm
Most visitors ever: 46 on 03/04/2010 11:35 am