Omron CX-SUPERVISOR - V2.0 User Manual page 218

Table of Contents

Advertisement

OMRON
Name
For convenience, a unique Connection name is created automatically. This can be changed to give a
more meaningful description of the connection, if required.
Data Source
Enter the database file to be used as a Data Source, or locate using the Browse button. The following
data source file types are supported:
MS-Access Files (*.mdb)
MS-Excel Files (*.xls)
Text Files (*.txt, *.csv)
FoxPro Files (*.dbf)
Data Source Names (*.dsn)
A Data Source Name file stores information about a database connection in a file. See Creating a
Data Source Name file for more information.
Note:
Note:
Note:
Connect on Application Start-up
The checkbox 'Connect on Application Start-up' provides the option of automatically connecting to
the Database when the Runtime application is started.
Advanced
Shows the Connection String dialog, allowing the automatically generated connection string to be
manually edited.
Release 2.0
Connecting to CSV or Text files is slightly different from an actual Database
connection. Only the 'Directory' that contains the required files should be supplied
as a Data Source - if a file is selected, the connection will fail. The actual file to be
used is specified later when configuring the Recordset. For example, if a collection
of text or csv files are contained in the directory C:\Text then a valid connection
'Data Source' is "C:\Text\".
Connections to CSV or Text files using the Provider installed with ADO version
2.0 are read only. Records can not be added or amended. To create a read/write
connection to a CSV or Text file see chapter 12, Creating a Read/Write connection
to CSV/Text file.
Connections to Excel files using the Provider installed with ADO version 2.0 are
read only. Records can not be added or amended. To create a read/write connection
to an Excel file see chapter 12, Creating a Read/Write connection to an Excel file.
CHAPTER 12 – Databases
Page 195

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents