Examples: SQLDataSource

The following example sets the default data source to Account Data:

SQLDataSource=Account Data

The following script can be used in a pre script for a login window you create. Defaults_Read() retrieves the value of the SQLDataSource setting, which is then used as the default value of the Data_Source field on your login window:

local string data_source_name.
local boolean l_result.

set l_result to Defaults_Read("SQLDataSource", data_source_name).
set Data_Source to itemname(Data_Source_DDL,data_source_name).

Documentation Feedback