Versions
All
Purpose
To update a record.
Syntax
Code:$L.success.flag=rtecall("rupdate", $L.return.code, $L.filevar)
- $L.success.flag
true = success
false = failure- $L.return.code
returncode of the call- $L.filevar
the variable in which to store the record to be updated
Example
This example selects the falcon record and sets the password.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) password in $L.filevar="new_password" $L.success.flag=rtecall("rupdate", $L.return.code, $L.filevar)



Reply With Quote
Bookmarks