The numeric identifier for the directory.

Valid Values

A value in the range 0 to 254 (DEFAULT = 0)


Every directory accessed by an application must have a unique DirId.

If you choose a DirId of 0, the internal ID of the directory is set to match the number assigned to the corresponding operating system file (i.e., ZIMnnnn where nnnn is typically a number between 0100 and 9999). Within each application, the internal ID of all application directories accessed at the same time must be unique.

If Foreign is set to YES, DirId must be greater than or equal to 10000. If Foreign is set to NO, but the directory is to be exported as a foreign directory to other databases, DirId must still be greater than or equal to 10000.

See Also

Foreign, ForeignAccess