Page 1 of 1

How to read by script a specific value of a recipe ?

Posted: Fri May 24, 2013 5:41 am
by Nicolas2121
Hi

I would like to know how to read by the script value of a specific column of a recipe from an index?

Example, I have a recipe "Test", with 5 fields "Field 0" to "Field 4", I want to read value through script of field (without knowing the name of the field). Is it possible ?

Thank you

Re: How to read by script a specific value of a recipe ?

Posted: Tue May 28, 2013 11:39 am
by mark.monroe
You can use SQL to query the Recipe database and get column names as well as the field values. You can take a look at this forum post on how to query a database in iX Dev. Rather than querying the datalogger table, you would query the recipe table.

Re: How to read by script a specific value of a recipe ?

Posted: Mon Jun 03, 2013 10:44 am
by Nicolas2121
Thank you for your reply