Index
Main Menu
Beginner Course
Learning the Basics
Knowledge Base
Visit our User Forum for discussions & solutions
IncludeFileData
FileExists
This function can be used to test the existence of a file. Example 1: «SetVr('fileName',concat(Directory,'\ExtraTemplate.xdtpx'))» «If(FileExists(GetV('fileName')))» «MergeTemplate(GetV('fileName'))» «End(if exists)» This will construct the name of a file in the XpressDox variable named ‘fileName’, and, if the file exists, issue the MergeTemplate command for it. Without the test for existence,...
How to change data or insert new data into a data source
Data from a data base can be inserted into a template. Perhaps this data has changed since it was last updated in the database, and the template-running-user is the one who knows about this change. It should be permissible for the user to change the data and have the change...
Loading...