Indusoft (Aveva Edge) VbScript to find a string in a column and return line values

Thanks everyone for the help, especially Norm and drbitboy....

It was the syntax of the Indusoft HMI tag RecipeScan that I had wrong...

Here is the working code:

Code:
Dim sql
sql="Select * FROM meerer12.recipe_list Where scan_code = '" & $RecipeScan & "'"
$numCur=$DBCursorOpenSQL("MySqlDB",sql)

Works perfectly...
 
You aren't kidding. It shouldn't be that complicated. :oops:


Yah that was my bad when I added the "...=?" conjecture, in addition to more or less the working solution the OP ended up with, in Post #2.


If I had not added that conjecture, and OP had not tried it, then this might have been solved a few days ago.
 

Similar Topics

Has anyone seen this issue with Aveva Edge 2020 R2. Using Mobile Access all is operating normally for days then with 10 of 128 users signed in we...
Replies
0
Views
1,535
Hi, I have to modify a client's aveva edge application and I'm not sure how to download the modifications without breaking anything :) Setup...
Replies
0
Views
300
Has any one used IWS 7.0 on a Win 11 Pro machine? Cant find a compatibility chart.
Replies
1
Views
453
Is there any easy way to store a password for an email address that is changeable on the HMI that is not easily deciphered. aka, don't write it to...
Replies
0
Views
381
Is there a tool to convert or import an Indusoft HMI progect to a Factorytalk project?
Replies
4
Views
1,191
Back
Top Bottom