Hi all,
I have a SQL connection. For testing purposes, it retrieves one line from a table. The output is stored in DataTable called 'QueryResult'.

It is 1 row, 70 columns, of which a sample is displayed above.

Let's say I want to extract 'Code' and set it into a variable. From what I gather, the 'Set Variable' syntax should be: %QueryResult[0][2]% (first row, 3rd column), or alternatively %QueryResult[0]['code']%, thus:

When run however, I only get the text representation of the query. As though I simply want to set the variable equal to the above string, as per below:

What am I doing wrong?