Common Form Elements for Connection Strings
Common Form Elements for Connection Strings
Connection Name
Give the connection definition a unique name if you wish to save the definition to external storage.
Command Buttons
Save Button
Writes the current connection string definition to an external file. Name of the file is the Connection Name plus .xml extension (e.g. example.xml).
Build Button
Takes the key values you have specified on the form and turns them into a valid connection string.
Connection String
Contains the text for the connection string that will be used when making a connection.
You can either type in the connection string directly or have the connection string built using the key values
defined on this form.
Verify Button
Click this button to verify that you are able to connect the database defined by the connection string.
Accept Button
Closes form and returns connection string text to application calling this form.
Cancel Button
Closes form and does not return connection string text to application calling this form.
Menu Items
File Menu
New
Erases current form values.
Open
Prompts you for name of a saved connection definition to load to the form.
Save
Saves current values on form to an external file. Name of file will be the Connection Name value.
Page Setup
Controls how printer displays data on page. For example, Portrait or Landscape mode.
You will be prompted to select a printer and then a report containing the contents of the form will be sent to the printer you chose.
Print Preview
Displays the form contents in a preview pane before sending to the printer.
Delete
Use this menu item to delete individual saved connection string definitions.
You will select which definitions to delete from a popup form.
Cancel
Exits the form without saving the connection string definition.
Connection String Menu
Accept
Closes form and returns connection string text to application calling this form.
Build
Takes the key values you have specified on the form and turns them into a valid connection string.
Verify
Click this item to verify that you are able to connect the database defined by the connection string.
Toolbar Items
New
Erases current form values.
Open
Prompts you for name of a saved connection definition to load to the form.
Save
Saves current values on form to an external file. Name of file will be the Connection Name value.
A report that contains the contents of the form will be sent to the default printer. You will NOT be prompted to select a printer.
Print Preview
Displays the form contents in a preview pane before sending to the printer.
Cancel
Exits the form without saving the connection string definition.