User Reference

The UpdateTableFormattingForPdf Function

March 9, 2017 User Reference

Sometimes, not in every case, when using the RemoveColumnIf command, in conjunction with The SaveAsPDF Command, it can turn out the the PDF renderer does not render the table where the column has been removed correctly. The UpdateTableFormattingForPdf function will usually fix this table rendering. Suppose you have a command «RemoveColumnIf(Amount = 0,1)» inside a […]

Read the full article →

The SetWebCustomButton Command

February 13, 2017 User Reference

As its name implies, this command is used to create a custom button on the Web interview. The template author can use this, and then, when the template is integrated into a client system, the button can be used by the web designer to implement custom behaviour in the web interview. «SetWebCustomButton(Press here for custom […]

Read the full article →

The SecondsBetween Function

February 13, 2017 User Reference

The fillpoint «SecondsBetween(Later,Earlier)» will return the number of seconds between the value in data element Later, and that in Earlier. For example: The race started at «ChooseUsingTimePicker(StartTime)»«FormatTime(StartTime,’hh mm tt’)» and ended at «ChooseUsingTimePicker(EndTime)»«FormatTime(EndTime,’hh mm tt’)». The elapsed time was «SecondsBetween(EndTime,StartTime)» seconds, which was not a new record.

Read the full article →

The SaveAsRTF Command

February 13, 2017 User Reference

The command «SaveAsRTF(Yes)» is used to instruct XpressDox to save the assembled document in RTF format.

Read the full article →

The CultureName Function

February 13, 2017 User Reference

This function can be used to take different action depending on the “culture” active at the time. All possible cultures are defined in Table of Language Culture Names, Codes, and ISO Values. The function has two possible arguments, viz. “Input” (or just “In”) and “Output” (or “Out”) «CultureName(‘Input’)» will return the culture which is used […]

Read the full article →

The AlignErrorMessages Command

February 13, 2017 User Reference

This command allows the template author for Web interviews to specify where the error messages for data elements in the interview should appear. «AlignErrorMessages(Top)» will cause any error messages to be displayed above the relevant data element in the Web interview, and the converse is true for «AlignErrorMessages(Bottom)»

Read the full article →

The Log Functions

February 13, 2017 User Reference

There are three similar functions which can be used to debug a template. Log This takes one argument and would look something like: «Log(Reached the paragraph after A)» This creates a log message in a file called LogXpressDox.txt which will be written to the My Documents folder of the user running the template. Another variant […]

Read the full article →

The InsertHyperlink Function

February 13, 2017 User Reference

XpressDox will insert a Word hyperlink into the assembled document. «InsertHyperlink(‘Our Company Web Site’,’www.abccompany.com’)» will put the text ‘Our Company Web Site’ into the document, underlined and coloured to look similar to a hyperlink inserted manually, and, when the user selects to open the link, will open the web page www.abccompany.com in the default web […]

Read the full article →

The ForbidThousandsSeparators Command

February 13, 2017 User Reference

Particularly in a situation where users of a template might want to use numeric values input according to different regions, this command can be used by the template author to make sure that template runners may not use the thousands separator when capturing numeric data in the interview.

Read the full article →

The InhibitAutomaticRuleOnNumberFunctions Command

February 13, 2017 User Reference

This command is part of the XpressDox arithmetic feature set, and is explained in a better context in Arithmetic in XpressDox.

Read the full article →