Previous Topic

Next Topic

Inhoudsopgave

Book Index

GetSetting Function

Function Function GetSetting( SettingCode: String ): Variant

Description

Retrieves a setting, or default value, from the settings table.

Remarks

The result of this function is always a variant. You must, however, always check it for NULL values.

Parameters

These settings codes have been defined in the IBSETTING basic script.

Result

The value of the setting.

Example

Sub Main()

Dim LNGCode

' Retrieve the basic language code and save it as a variable

LNGCode = Application.GetSetting("BasicLangCode")

MsgBox "The default language code is: " & LngCode

End Sub