CurrentImagineFile (Record function)

From m204wiki
Jump to navigation Jump to search

Get Imagine filename from current record in For looop (Record class)


Get the name of the containing Imagine file for current (innermost) record For loop.

Syntax

%string = %(Record In filOrGrp name):CurrentImagineFile

Syntax terms

%stringThe name of the containing Imagine file for the current For loop record, if the record is in an Imagine Transparency file, or an empty string, otherwise.
%(Record In filOrGrp name) The class name in parentheses denotes a shared method. CurrentImagineFile can also be invoked via a Record object variable, which may be Null.

Usage notes

The Imagine filename can be used with a recordId obtained via the CurrentRecordId method to allow an Imagine application to easily locate a record.

See also