Routines for c_ini.kb


DBIniRead

File Name

c_ini.kb

Syntax

DBIniRead ( VAL SectionName: STRING, VAL Setting: STRING, REF SettingValue: STRING, VAL User_ID: STRING, VAL Default: STRING )

Parameters

SectionName - value to identify record in db_ini

Setting - value to identify record in db_ini

SettingValue - value returned from read of db_ini

User_ID - value to identify record in db_ini for user

Default - Default value to use is nothing is found in

db_ini

Returns

INTEGER

Side Effects

None

Description

Performs a read from the DB_INI table and returns a value if found. Otherwise, the default is set to SettingValue.

Dialog Forms Called

None


DBIniWrite

File Name

c_ini.kb

Syntax

DBIniWrite ( VAL SectionName: STRING, VAL Setting: STRING, VAL SettingValue: STRING, VAL User_ID: STRING )

Parameters

SectionName - value to identify the record in db_ini

Setting - value to identify record in db_ini

SettingValue - value to setin the db_ini

User_ID - value to identify record in db_ini for user

Returns

INTEGER

Side Effects

None

Description

Performs a write to the DB_INI table and sets the new SettingValue to the appropriate record for the user.

Dialog Forms Called

None


ESMIniRead

File Name

c_ini.kb

Syntax

ESMIniRead ( REF SettingValue: STRING, VAL Filename: STRING, VAL SectionName: STRING, VAL Setting: STRING, VAL Default: STRING )

Parameters

SectionName - value to identify the record in db_ini

Setting - value to identify record in db_ini

SettingValue - value returned from read of db_ini

User_ID - value to identify record in db_ini for user

Default - default value to use if nothing is found in db_ini

Returns

Integer

Side Effects

None

Description

Determines if the user is web-enabled and based on this, adds the db_ini file for the web-enabled person or the .ini file for the user.

Dialog Forms Called

None


ESMIniWrite

File Name

c_ini.kb

Syntax

ESMIniWrite ( VAL SettingValue: STRING, VAL Filename: STRING, VAL SectionName: STRING, VAL Setting: STRING )

Parameters

SectionName - value to identify record in db_ini

Setting - value to identify record in db_ini

SettingValue - value returned from read of db_ini

User_ID - value to identify record in db_ini for user

Returns

INTEGER

Side Effects

None

Description

Determines if the user is web-enabled and based on this, writes to the db_ini file for the web-enabled person or the .ini file for the user.

Dialog Forms Called

None


IniCacheFind

File Name

c_ini.kb

Syntax

IniCacheFind ( VAL DB_INIRecordList: DB_INIRecordListType, VAL DB_INIRecord: DB_INIRecordType )

Parameters

DB_INIRecordList - list of db_ini records

DB_INIRecord - record from the db_ini table

Returns

INTEGER

Side Effects

None

Description

Searches a list of db_ini records for a match.

Dialog Forms Called

None