Filename Functions

Alpha Five provides the following Filename functions.

Function

 

Description

A5.GET_MASTER_NAME()

V5

Returns the name of the master database if the workstation is shadowed.

A5.GET_NAME()

V5

Returns the filename of the current database.

A5_Qualify_Filename()

V7

Fully qualifies the name of file found in the application program folder.

A5_SHORTEN_FN()

V6

Shortens a filename to the specified number of characters by truncating the path and inserting "...".

FILE.ATTRIBUTES_GET()

V5

Gets the attributes of Filename.

FILE.ATTRIBUTES_SET()

V5

Sets the attributes of Filename.

FILE.FILENAME_PARSE()

V5

Returns the name component of a filename.

FILENAME_ABSOLUTE()

V5

Creates a character string by converting a relative filename into an fully qualified filename.

FILENAME_DECODE()

V5

Creates a character string by converting an aliased filename to a fully qualified filename.

FILENAME_ENCODE()

V5

Creates a character string by converting a filename to an aliased filename.

FILENAME_FROM_ALIAS()

V5

Creates a character string by converting an aliased filename to a fully qualified filename.

FILENAME_IS_RELATIVE()

V5

Determines whether the specified Filename can be found, with the search starting at the Reference_Path.

FILENAME_RELATIVE()

V5

Creates a character string by converting a fully qualified filename into an relative filename.

FILENAME_TO_ALIAS()

V5

Creates a character string by converting a filename to an aliased filename.

FILES_IN_SET()

V5

Creates a CR-LF delimited character string containing the fully qualified names of the components of the set.

FILES_IN_TABLE()

V5

Creates a CR-LF delimited character string list containing the fully qualified names of the components of the table.

GET_UNIQUE_FILENAME()

V6

Returns a unique filename.

IMAGE_FILENAME_ENCODE()

V5

Encodes an image filename with an alias.

LIST_FILES_IN_SET()

V5

Creates a CR-LF delimited character list containing the fully qualified names of the components of the set.

TOKEN_NAME_INCREMENT()

V5

Returns a unique file name derived from a filename by adding a sequence number.

See Also

Database Functions, Directory Functions, FILEFIND Methods, File Functions and Methods