Get a fully qualified File Name including Folder, resolving Tags. Note, this may or may not be relative to the Base Folder.

The following tags will be resolved: <list> <item><code>[AppFolder]</code><description>This will be replaced by the Application Folder</description></item> <item><code>[DbFolder]</code><description>This will be replaced by the Database Folder - for MS Access databases, or AppFolder otherwise</description></item> <item><code>[DocumentFolder]</code><description>This will be replaced by the User's Document Folder</description></item> <item><code>[ExportFolder]</code><description>This will be replaced by the User's Export Data Folder</description></item> <item><code>[TemplateFolder]</code><description>This will be replaced by the User's Template Folder</description></item> <item><code>[YMD]</code><description>This will be replaced by the current date, e.g. 20160630</description></item> <item><code>[YYMMDD]</code><description>This will be replaced by the current date, with a 2-digit year, e.g. 160630</description></item> <item><code>[YMDHM]</code><description>This will be replaced by the current date and time, e.g. 201606301520</description></item> <item><code>[YMDHMS]</code><description>This will be replaced by the current date and time, e.g. 20160630152010</description></item> <item><code>[HM]</code><description>This will be replaced by the current time, e.g. 1520</description></item> <item><code>[HMS]</code><description>This will be replaced by the current time including seconds, e.g. 152010</description></item> <item><code>[SEQ]</code><description>This will be replaced by a sequence number. This will start at 1 and be incremented until a unique file name is found</description></item> <item><code>[SEQ#3]</code><description>This will be replaced by a sequence number left padded with 0's so it is at least 3 digits. This will start at 001 and be incremented until a unique file name is found</description></item> </list>

Syntax

ISSupport.GetFileNameResolved(fileName, [baseFolder], [date])

Parameters

NameTypeOptionalByRefDescription
fileName String The File Name (this may include path separator and '..' characters).
baseFolder String Optional The Base Folder. If not specified the User's Export Data Folder will be used.
date Date Optional The Date to use when resolving date based tags. If not specified the current Database Date and Time is used. If omitted, a value of Nothing is assumed.

Return Value

String

A String value.

Member of:
ISSupport
Namespace:
Intersoft.ISSupport6
Assembly:
ISSupport6, Version=6.0.3
Target Framework:
.NET 9.0