SQLConnections Tool

See Also: Overview of the DataFlex Database Update Framework


Tool that is used to manage SQL connections (SQLConnections.ini files).


Type: Tool/Program



Studio's Tools menu settings:

Parameter: String s<application>

Parameter

Description

<application>

The full path including the program name. The path will be parsed by the tool to read the workspace SQLConnections.ini file.


Syntax


Configure Tools Menu (Studio)

Studio Call:

"SQL Connections Manager" "C:\Projects\DbUpdateFramework\Programs\SQLConnections.exe" <application>



Description

Use it to maintain SQL Connections. The tool can be added to the Studio's Tools menu as described in the First Time Usage. The Studio will then automatically open the correct SQLConnections.ini file for the current workspace.

All connection settings for a SQL database are kept here. One SQLConnection.ini file per workspace (Programs folder). There can be multiple connections in the file but only one can be enabled/active at a time.

You can drag & drop a SQLConnections.ini file - or a DataFlex 19 DFConnId.ini file on to the grid. If you choose to edit a DFConnId.ini file with this program and you select "Edit" of a record with an encrypted password you will get a warning and a question if you would like to change that password with this program. Most often you would reply 'No' as the two programs used different encryption/decryption algorithms, so please handle with care! If you answer "No", all other settings can be changed but the password won't be touched by the program.

Besides from the obvious incompatibility problem for passwords between this tool and Data Access Worldwide Managed connections tools, everything else is compatible. So you can edit a DFConnId.ini file and add more data to it - data that is exclusively used by the Database Update Framework - and both sets of tools will work just fine.

Note: The reason there are several more properties that can to be set with this tool compared to the DataFlex 19 "Managed Connections" is that The Database Update Framework is geared at making database changes and those functions need more properties than when just connecting to an SQL database.

You can change the number of columns shown in the grid. To remove a column; Left-click a column header and drag & drop it somewhere outside the grid. To add a column; right-click the header, select the "Field Chooser". Then left-click on a field and drag & drop it somewhere on the header where you want the new column. Finally you can re-arrange the column by left-clicking a column and drag & drop it to the new position. The new grid layout will automatically be saved to the registry. To restore the original settings; right-click anywhere on the header and select "Restore Layout".

Press F1 in the program to display this help text.


Edit a Connection



Depending on the Database Type selected different options will be enabled.


Next Topic


License