Versions
All
Purpose
To run a query on a file.
Syntax
Code:$L.success.flag=rtecall("select", $L.return.code, $L.filevar, $L.query)
- $L.success.flag
true = success
false = failure- $L.return.code
returncode of the call
1 = one record found
2 = more records found
3 = no records found- $L.filevar
the variable in which to store the records retreived, updated or added- $L.query
the query to run
Example
Find the falcon operator record.Code:$L.success.flag=rtecall("rinit", $L.return.code, $L.filevar, "operator") $L.query="name=\"falcon\"" $L.success.flag=rtecall("select", $L.return.code, $L.filevar, $L.query)



Reply With Quote
Bookmarks