Testing Connections In The Development Environment - Omron CX-SUPERVISOR - V2.0 User Manual

Table of Contents

Advertisement

CHAPTER 12 – Databases

Testing Connections in the Development Environment

A connection to a Database can be made in the Development Environment by selecting the required
Connection in the Tree View and then selecting the right-menu option 'Connect'. If a Connection
contains Recordsets that are set to auto open, these will also be opened by the 'Connect' option. If all
goes well and a valid connection is made, the Database Connection Icon will be adorned with a
'lightning bolt'. If not, then this is probably due to an error in the 'Connection String'.
Database Errors
A detailed description of what type of error occurred (supplied by the underlying Data Provider) can
be viewed, by clicking that the right-menu option 'Show Last Error'. Whenever an error is generated
by a Data Provider a description of the error and its source will be displayed in a Dialog. The 'Show
Last Error' option is specific to each Connection.
Example: The following error was generated by the 'Jet Database Engine' (due to a typo in the
Database name):
Database Connection String dialog
Connection to a Database is performed by means of a 'Connection String'. Because different Data
Providers require different information to connect you to a data store, these strings can be quite
complex and cumbersome.
connection string for your selected data source (if it's supported). This string can be viewed and
modified via the Connection String dialog shown below, when 'Advanced' is pressed on the
Add/Modify Database Connection dialog.
Page 196
For this reason CX-Supervisor will automatically create a valid
OMRON
Release 2.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents