Getting a data table reference from NewSQLQuery() << Run Background with Names Default to Here(1);
I'm having trouble getting the data table reference if I run in the background. Anyone know how to get around this?
names default to here(1);
sql_query = New SQL Query(
Connection(
"ODBC:DSN=Test Source;DATABASE=Test;"
),
QueryName( "Thingy" ),
Select(
blah
),
From(
other blah
)
);
sql_query << Run Background(
OnRunComplete(
dt = queryResult;
dt = data table(queryResult<<G...
vince_faller