Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

can't query sql data


Not applicable
I'm connecting fine to a SQL DB. Used the "help" sample in LS 8.0 help to enter an ID that should query the data for a specific data set. Using "click" and "FormCalc", I get an error. This is my code:

//Change the commandType from TABLE to TEXT. TEXT

//is the equivalent of SQL Property

$sourceSet.DataConnection.#command.query.commandType = numeric

//Set the Select Node. Select in this case will be

//whatever SQL Property you want

$ = Concat(Select*from licenses Where userid = , ListBox1.rawValue,)

//Reopen the Data connection


I've tried the Javascript version of this, and I get no error, but nothing at all happens.

0 Replies