Testing Connections In The Development Environment; Database Errors; Database Connection String Dialog Box - Omron CX-Supervisor User Manual

Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

Configuring a Connection
12-2-1-3 Connect on Application Start-up
12-2-1-4 Advanced

12-2-2 Testing Connections in the Development Environment

12-2-3 Database Errors

12-2-4 Database Connection String dialog box

The checkbox 'Connect on Application Start-up' provides the option of
automatically connecting to the Database when the Runtime application is
started.
Shows the Connection String dialog box, allowing the automatically generated
connection string to be manually edited.
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'.
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):
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. For this
reason CX-Supervisor will automatically create a valid connection string for
your selected data source (if it's supported). This string can be viewed and
modified via the Connection String dialog box shown below, when 'Advanced'
is pressed on the Add/Modify Database Connection dialog box.
SECTION 12 Databases
183

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents