UDSUpdateField (Magic xpi 4.9)
This function updates a specific field in the UDS variable.
Syntax:
|
UDSUpdateField (Alpha udsvar, Alpha fieldname, Alpha fielddata, Alpha locatefieldname, Alpha locatefieldvalue, Alpha udsmodel)
|
Parameters:
|
udsvar
fieldname
fielddata
locatefieldname
locatefieldvalue
udsmodel
|
Returns:
|
0 if succeeded. The relevant error number if failed.
|
Example:
|
UDSUpdateField ('F.CustomerList','CustomerName','John Nash','CustomerID','15','StandardList').
Updates the customer name to 'John Nash' for the record in which the StandardList UDS model's F.CustomerList flow variable is CustomerID=15.
|
See also:
|
UDSClear, UDSDeleteRecord, UDSGet, UDSGetField, UDSSet
|