15.19 File Template Variables

15.22.5 Special Template Variable Notes

15.22 Tips for Template Programming

Variable

Description

Type

Len

Dec

@@FNAMEnn

File name

A

10

 

@@FLIBRnn

File library

A

10

 

@@FVERSnn

File version number

N

15

5

@@FTYPEnn

File type (P=PF, L=LF)

A

1

 

@@FDESCnn

File description

A

40

 

@@FBASPnn

Based in physical file name

A

10

 

@@FRELFnn

Related file name

A

10

 

@@FRELLnn

Related file library

A

10

 

@@FRELVnn

Related file version number

N

15

5

@@FRELRnn

Related file relationship (O=1:1, M=1:n)

A

1

 

@@FRELAnn

Related file access route name

A

10

 

@@FRELCnn

Related file connection type. The connection types are:

BASE = Base file
DIRBASE = Directly connected to the base file
INDBASE = Indirectly connected to the base file
DETAIL  = Detail file
(i.e. 1 :  Many related file)
DIRDETL = Directly connected to detail file
INDDETL = Indirectly connected to detail file

A

70

 

@@FAREAnn

Header or browse area (H=HDR,B=BRW)

A

1

 

@@TFMX

Maximum file number selected

N

15

5

@@TFMN

Minimum file number selected

N

15

5

 

where nn is a number from 1 to 99. This length is the maximum length. The number nn may be specified as 1 or 2 numerics, or a valid index name of 2 characters may be used (and its numeric value will be substituted in the variable name).