Override File Format: Globals.ini

Shown here is an example of the contents of the Globals.ini and GlobalsBase.ini files, followed by a description of the format.

[STRINGLENGTHS]
; AddressMax: This is the maximum length for an address value.
AddressMax=40
; AddressMin: This is the minimum length for the Address value.
AddressMin=1
; CityMax: This is the maximum length for the City value.
CityMax=12
; CityMin: This is the minimum length for the City value.
CityMin=1
; PhoneMax: This is the maximum length for the Phone value.
PhoneMax=22
; PhoneMin: This is the minimum length for the Phone value.
PhoneMin=1

The first line of this example is the section name [STRINGLENGTHS]. This section name corresponds to a defined global group within the application project. Each global group has a section within this file. All globals defined within a group are listed within the appropriate section.

The second line in the example is a comment line. All comments within this file are preceded by a semicolon. Comments in this file are automatically generated by the Editor when the file is created. The comments are the description values of each global definition. You can also add comments to the base file and override file as needed.

The third line, AddressMax=40, is the first global definition within the StringLengths group. The name of the global to which this setting pertains is AddressMax. Its defined value within the application project is 40.

Changing this value overrides the defined behavior for the application. More specifically, the value entered in the override file is the one for the global on the Client, affecting any other definitions that reference the global.