Celin.ONCQL(query name, func name, one or more parameters)
Runs a function when a query event happens.
Example
When query ab
is triggered, run function
named queryAB
and pass in named excel cell name
;
Celin.ONCQL("ab","queryAB",name)
The below function will output the message Query {value of cell name}
when the query is busy.
func queryAB
if (msg.busy)
return [[`Query ${params[0]}`]];
else
return [['']];