Visual RPG 9.0 Language Reference  

DBFile.IsFormatID Field

IsFormatID contains True if the opened file's format ID is equal to the described file's format ID.

dbfile.IsFormatID Type (*Boolean)

Remarks

When the ChkFmtID parameter specified in the DCLDISKFILE command is set to *Yes or *Same, IsFormatID 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