prop_file.htm
Navigation: Language Reference > App C - PROP: Runtime Properties > Runtime VIEW and FILE Properties >====== PROP:File ====== | |
An array property of a VIEW. Each array element returns a reference to the numbered file in the VIEW. This reference can be used as the source side of a reference assignment statement. The files are numbered within the VIEW starting with 1 (the primary file in the VIEW) and continuing for each JOIN, as they appear within the VIEW structure. (READ ONLY)
PROP:File can now also be used to return the key's file name from a KEY.
Example:
GetFileInfoFromKey PROCEDURE(*KEY key)
KFile &FILE
Record &GROUP
CODE
KFile &= key{PROP:File}
MESSAGE(KFile{PROP:Label, key{PROP:Field, 1}}) !Returns label of first key component
prop_file.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1