18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Background Tasks<br />

• Advanced button: Click to open the Advanced Cursor Options dialog…<br />

Advanced Cursor Options dialog<br />

• Close Query field: Enter any tag; when the value of the tag changes, the cursor releases the result set.<br />

• Previous field: Enter any tag; when the value of the tag changes, the cursor moves to the previous row<br />

of the result set and copies those values to the tag configured in the worksheet body.<br />

• Total number of rows field: Enter a numeric tag that will receive the total number of rows in the result<br />

set.<br />

• Current row number field: Enter a numeric tag that will receive the number of the current row (i.e., the<br />

position of the cursor). When a result set is first opened using the Select trigger, this number is 1.<br />

Each Next trigger increments this number, and each Previous trigger decrements it.<br />

• Table Triggers area…<br />

• Insert field: Enter any tag; when the value of the tag changes, a new row is inserted with the current<br />

values of the tags configured in the worksheet body.<br />

• Update field: Enter any tag; when the value of the tag changes, all rows of the result set are overwritten<br />

with the current values of the tags configured in the worksheet body.<br />

• Delete field: Enter any tag; when the value of the tag changes, all rows of the result set are deleted.<br />

Worksheet Body<br />

Note: Table triggers are available only when Type is set to Table, because these operations work on<br />

the entire table row.<br />

In the body of the worksheet, you can map project tags to the columns (fields) of the result set. For each row<br />

of the body, enter a Tag Name and its corresponding Column. Which columns are available depends on how the<br />

result set is selected, and how it is selected may change during runtime, so be sure to map all necessary<br />

columns.<br />

<strong>InduSoft</strong> Web Studio Page 323

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!