I need set query in PreRAD to use it in RAD tab.
How can i to set a condition to check the content of the value in the field
familiar to LIKE operator in SQL id like '%idci' ?
For RAD, you could try the index function. index( "ldcl", $variable ). If it find "ldcl" in the string variable, the return value will be non zero. You can test the function in the rad debugger until you are comfortable with it.
I need to set query in PreRAD tab to use it in RAD tab (RAD application - se.search.engine)
For now in PreRAD i have query:
$L.audit.query="idaudit=\""+logical.name in $L.filed+"\""
But now i need change it:
$L.audit.query="idaudit=\""+id in $L.filed+"\"" , but i need condition - contains.
idaudit for table audit and id for table device.
Find all those records that have in the end of idaudit string the value is equal to the value of the id field.
I found an old query in my notes, Query=name#"%" + operator() +"%" .
So i think this should work for you, $L.audit.query="idaudit#\""+"%ldcl"+"\""
I don't have a machine to test it but I hope I got the syntax right and it works for you. Good luck.