Visual RPG 9.0 Language Reference  

DBFile.IsDefaultRFN Field

IsDefaultRFN contains True if the "default" renamed format is going to be used.

dbfile.IsDefaultRFN Type (*Boolean)

Remarks

When the ChkFmtID parameter specified in the DCLDISKFILE command is set to *Yes or *Same, IsDefaultRFN returns True if the format ID of the file specified in the DclDiskfile's FileDesc parameter is the same as the file opened at run-time.

The Visual RPG for .NET compiler stores the format of each file in the assembly when a program is compiled. At run-time, AVR for .NET can then compare the stored format ID with the format ID of the currently-opened file.

Requirements


Namespace: ASNA.VisualRPG.Runtime

Assembly: ASNA Visual RPG Runtime (in ASNA.VisualRPG.Runtime.dll)

Platforms: Windows 2000 Professional SP4, Windows 2000 Server SP4, Windows Server 2003, Windows XP Professional SP2, Windows Vista Business Edition

See Also

ASNA.VisualRPG.Runtime
DBFile Class
DBFile Members
DCLDISKFILE