Bt_DictOpen() Function

 

<< Click to Display Table of Contents >>

Navigation:  Ddf Dictionary >

 

Bt_DictOpen() Function

 

Previous pageReturn to chapter overviewNext page

 

Purpose

 

 

Open dictionary files and store reference in Dictionary Cache

 

 

 

Prototype

 

 

FUNCTION Bt_DictOpen ( cPath  := NULL_STRING AS STRING, lExtended  := FALSE AS LOGIC )  AS LOGIC PASCAL

 

 

 

Argument(s)

 

 

<cPath>(Optional) location for DDF Files. Default = Bt_Path() location
<lExtended>(Optional) Logical value. When TRUE all Dictionary files in the specified location will be opened. When FALSE only FILE.DDF and FIELD.DDF will be opened

 

 

 

 

Return

 

 

LOGICTRUE when Ok, FALSE when an error occurs

 

 

 

Description

 

 

This function opens dictionary files and stores a reference to them in the Dictionary cache.

Please note: If a request is made to open the a dictionary that is already open the files will not be opened twice, but a reference counter will be increased