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()