The database environment definition includes the data tables and various application environment defaults such as default directories for storing and sorting data, time/date format, and index setting definitions. These defaults are established in the Environment Management dialog box, shown below.

General Settings

GroupOptionDescription
Default DirectoriesSort PathSpecifies the directory in which sorts take place.
 Data PathSpecifies the default data path for the database. A BROWSE button is provided to assist in locating the directory.
 ... ButtonsWhen clicked, allows selection of a data path and sort path using the Windows ChooseFile dialog box.
LocalizationNoneWhen selected, Localization is not in place and OpenInsight will use its own default settings. The OpenInsight default settings are for the United States.
 Use LNDWhen selected, the developer may set the Localization to a specific Language Set. The specific set is chose from "Select Language Set" button to the right of the Language Set editline.
 Windows LocaleWhen selected, Localization is set to use the Locale settings from the Windows operating system.
 Language Set Edit LineThe Language Set editline will display the name of the Language Set chosen from the "Set Language Set" button. This editline is a ReadOnly editline. The Language Set must be selected via the button.
 Set Language Set buttonThe Set Language Set button will display a popup of available Language Sets to be used. Selecting a Language Set within the popup will result in a value being placed into the Langauge Set Editline.
 Edit Language Set buttonThe Edit Language Set button display the Edit Language Set dialog box. The dialog box displays the default settings for each Language Set. The settings may be modified and saved. New Language Sets may be created using the "Edit Language Set" dialog.
Debugger SettingsDisableWhen selected, the Debugger tool is disabled. The Debugger is not launched if an error is encountered when executing code.
 EnableWhen checked, the Debugger tool is enabled. The Debugger is launched if an error is encountered when executing code.
 InterceptWhen checked, the Debugger tool is disabled and the routine defined in the Intercept Routine edit line is executed.
 Intercept RoutineThe name of the routine to call when Intercept is selected. If a routine is not defined then the Debugger_Replacement() function is called.
GeneralSQL Null StringSpecifies the string that displays when a null value is returned from the database
 TimeDate FormatSets the format for the date and time. The default is U.S. standard date format.
 Default I/O ConversionWhen checked, provides the default I/O conversion for displaying data.
 Sort Tables by Database ID on Add Tables DialogWhen checked, the tables displayed within the Add Tables Dialog Box are sorted alphabetically by Database ID. Otherwise, they are displayed in alphabetically without regard to Database ID.
 Repository Log EntriesSpecifies the number of entries in entity history log found in Application Manager. The default is ten.
Arev32 SettingsCreate Arev32 UserWhen checked, OpenInsight will create Arev32 user information when new OpenInsight users are added.
 Save Precompiled SourceWhen checked , a copy of ARev32/CTO converted source is saved within the system.

When a Basic+ routine is compiled under AREV32 or CTO, it runs through a precompiler to convert non-OpenInsight Basic syntax into OpenInsight acceptable code. A copy of this converted source can be saved on the system, in the table OI_PRECOMPILED_CODE, with the record name <sourcetable>_<procedurename> (ie, BP_TEST). This saved version of the precompiled code is useful for debugging.

Indexes Reports Settings

GroupOptionDescription
Default Stop ListListThe default stop list a list of words that are ignored when building, updating and searching Cross Reference indices.
Form DefaultsForm HeightSpecifies the number of lines in a report page. Used in RList reports only.
 Form WidthSpecifies the width of a report page in characters. Used in RList reports.
OIPI DefaultsShadow FormatOIPI will create various report files when reports are previewed. The ability to create both HTML and RTF files is not allowed. The Default Shadow Format will determine which file type to create by default.
 Units of MeasureStandard or Metric. For future use.
 User Save PathThe default path to be used when displaying the "Save" dialog from the OIPI Print Preview window.
IndexingDelay before IndexingThe number of seconds that any workstation should be idle before the index update process commences.
 Case Sensitive QueryWhen checked, query criteria is sensitive to case when selecting rows.
 Update Before QueryWhen checked, index updates will occur before each query.

Note: Only SELECT and LIST queries will update indices prior to the query. BTREE.EXTRACT queries will not update indices, using this setting.

 Update Before Btree ExtractWhen checked, Btree index updates will occur before each Btree.Extact query.
 Update 0 Keys on Related IndexesWhen checked, will update keys with a value of zero (0) in relational indices.

Concurrency Settings

GroupOptionDescription
DirectoriesTransaction Log PathSpecifies the location of the temporary files used for a workstation's transactions. The default setting is the TRANSACT directory residing in the default OpenInsight directory.

The  button to the right of the prompt allows for the selection of the location.

 Commit Log PathSpecifies the location of the commit log.

The  button to the right of the prompt allows for the selection of the location.

Consistency Lock Type The consistency level of locking used by the workstation during Transaction processing.
 NoneDisables implicit locking. In order to lock records and tables, you must lock them explicitly using BASIC+ commands.
 UpdateExclusive locks during updates of tables or records. The lock is held for the duration of the update operation. No locking takes place during queries.
 TransactionExclusive locks during updates for the duration of each transaction. When the transaction is committed or rolled back the locks are released. No locking is done for queries.
 QueryExclusive locks during updates for the duration of each transaction. In addition, it sets shared locks during queries for the duration of each query.
SQL Lock Type Specifies the type of locking that should occur during the transaction.
Deadlock Resolution When a deadlock situation is detected, one of the conflicting transactions must be rolled back. This option allows for the rollback of the Youngest (or most recent) transaction or the Least Active transaction.
Ungrouped ItemsUnlock all at CommitTo enable the release of locks at commit, check this item.
 Co-ordinated LockingTo coordinate table and row locks, check this item.
 Autotransaction StartTo begin transactions automatically, check this item.
 Commit ProtectionTo control queuing for data integrity, check this item.
 Maximum LocksYou can limit the number of locks held by the workstation using this control. The default setting of zero (0) disables the lock limit.
 Transaction Fail TimeoutThe number of seconds before the transaction times out in a wait situation.
 DeadlockThe number of seconds before deadlock checking is begun and locks are posted.
 Deadlock CheckThe number of seconds for checking deadlocks after the deadlock process has been started.

Report Security - Tables Settings

GroupDescription
Select Tables to ExcludeA list box containing all available tables to report.
Selected Tables to ExcludeA list box containing tables to exclude from the Report Builder and Banded Report Writer.

Report Security - Columns Settings

GroupDescription
Table NameSelect a table for which you want to exclude fields from being displayed in reports.
Select Fields to ExcludeA list box containing all available fields.
Selected Fields to ExcludeA list box containing fields to exclude from the Report Builder and Banded Report Writer.
List All Columns With Security buttonClicking this button will display a report of Columns that have security.

Window/Form Settings

GroupOptionDescription
Window Color SettingsSet a Default Background Color for all WindowsWhen checked OpenInsight will set a gradient color for all windows within an application. The gradient is based on a From and To Color. The From and To Colors should be an RGB value. The ChooseColor dialog will be displayed when the buttons to the right of the From Color and To Color edit lines are clicked.
 From ColorAn RGB value indicating the starting point of window gradients. When a value is selected the background color of the value control will be set to the selected color.
 To ColorAn RGB value indicating the ending point of window gradients. When a value is selected the background color of the value control will be set to the selected color.
EditTable Focus Cell SettingsUse FocusCell SettingsWhen this item is checked, the FocusCell settings will be in effect. All of the below settings correspond to the current cell in an edittable.
 FontThe font to be used in the edittable cell that currently has focus.
 Foreground ColorThe Foreground Color to be used in the edittable cells that do not have focus.
 Background ColorThe Background Color to be used in the edittable cells that do not have focus.
 Selected Foreground ColorThe Foreground Color to be used in the edittable cell that currently has focus.
 Selected Background ColorThe Background Color to be used in the edittable cell that currently has focus.
 Rectangle StyleThe Rectangle Style to be used around the edittable cell that currently has focus. There are two options: Dotted and Solid. Dotted is a value of 0, Solid is a value of 1.
 Rectangle WeightThe Rectangle Weight to be used around the edittable cell that currently has focus.

The are three options: Light, Medium and Thick. Light is a vlue of 0, Medium is a vulue of 2 an Thick is a value of 3.

 Rectangle ColorThe color of the Rectangle to be used around the edittable cell that currently has focus.
  • No labels