Creating A Read/Write Connection To Csv/Text File; Configuring Recordsets; Name; Recordset Type - Omron CX-Supervisor User Manual

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

Advertisement

Configuring Recordsets

Note:
Note:
Note:

12-2-7 Creating a Read/Write connection to CSV/Text file

12-3
Configuring Recordsets

12-3-1 Name

12-3-2 Recordset Type

When updating files the column headings cannot contain numbers or spaces,
for example "Column1" or "Invoice Total" is invalid. Also some words are
reserved and can not be used, for example a column heading of "Number" will
cause an error. These restrictions do not apply when only reading these files.
Make sure that all the cells in a column are of the same data type. The Excel
ODBC driver cannot correctly interpret which data type the column should be if
a column is not of the same type, or you have types mixed between "text" and
"general".
This type of querying and updating information in an Excel Spreadsheet does
not support multi-user concurrent access.
Connections to CSV or Text files using the Provider installed with ADO version
2.0, like Excel files, are also read only hence Records can not be added or
amended. However, CSV and Text files can be updated by converting the data
into an Excel spreadsheet and accessing the file via the ODBC DSN driver.
This is achieved by carrying out the steps as above using the CSV/Text file
instead. Note the Excel provider is still used, and a named range in Excel must
still be created.
The Recordset is the heart of the Database facility, it contains all of the
columns and rows returned from a specific action. The Recordset is used to
navigate a collection of records, and update, add, delete or modify records.
When a Connection has been added to the Workspace, the right menu option
'Add Recordset...' will be enabled. Selecting this option will invoke the
following dialog box:
A unique Recordset name will be automatically provided. This can be modified
to provide a more meaningful name if required.
The Recordset can be 1 of 3 types:
Table Name
The Recordset is the name of an actual table in the
Database.
SECTION 12 Databases
187

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents