KB-31795: Recording values in an Access database’s table.

Question:

How can I record tag values in an Access database’s table?

Solution:

To do so, you must first create an Access database with a table. Then, create an ODBC connection via Databases item at the Organizer. To record values, you can create a simple attribution between table fields and tags. For example, if you have a table called AccessTable with the fields ColumnAccess01 and ColumnAccess02, you can use the script below to record the values:

ColumnAccess01 = currentTime
ColumnAccess02 = ValueIOTag
AccessTable.AddRecord()

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *