Changes

Jump to: navigation, search

Custom Field Type: Special – MS Word Merge

347 bytes added, 21:49, 8 July 2009
no edit summary
::''datesigned=@#565346#@;''
* '''Note''': Each ''Form Field'' on the MS Word Merge Document should be represented on a different line in the MS Word Merge Field '''Values''' section, and each line must end with a semi-colon.
* The sequence is not important, as the variables are matched using the bookmark name.
* You can assign more than one field from SmartSimple into a single MS Word form field, and include other text and characters:
::''time=@starth@:@startminute@ @startpmam@;'' would display in this format: '''"12:35 pm"''' in the time form field
===Including Tables===
You can also add data to one or more existing '''tables''' in the resultant MS Word document if you have multiple records that you need to include.
:''For example: to include all Level 2 Activities related to a Level 1 entityyou could use'': table_1=[#(?object=activity)|~description~|~statusname~|~startdate~|~enddate~|$1139409$|#];* Be sure there are no spaces between the pipes (|) and variables.
* In the example below the first table (identified by position and referenced as table_1) is set to the records associated with the [[Entity|entity]].
[[Image:WordMergeTable.PNG]]
* In the MS Word document you must create a table with the relevant number of columns. The table should only include a single row with the column headings (the heading do '''not''' have to match the field names within SmartSimple.)
* You do '''not''' have to create form fields within the table. New rows will be created automatically and populated with data in the order specified in in the MS Word Merge Custom Field '''Values''' section.
* Tables should be included at the very end of the '''Values''' section.
* The table you create in MS Word for the example above would look like this:
[[Image:WordTable.PNG]]
0
edits

Navigation menu