Globals.Datasrc
Globals.Datadrc returns the SQL data source being used by Deacom.
Note: Globals are not available to Grid and External scripts until 17.02. Please check the scripting tree in the script window in Deacom to make sure Globals are available.
Applies To
Properties and Methods
None
Available
The .Datasrc property is available in:
- 15.03.016
- All newer builds
Note: The .Datasrc property and all sub-classes, properties, and methods are only available in Form Layout scripts.
Type
String
Syntax
Globals.Datasrc;
Parameters
None
Example
/--Run this script on any form event
Event.Form.YesNo(Globals.Datasrc);
/*
Expected Prompt response will match the DATASRC value in the deacom.ini file
SQL2005
*/