UDSDeleteRecord (Magic xpi 4.13)
This function deletes a specific record in the UDS variable based on the value of a specified field.
Syntax:
|
UDSDeleteRecord (Alpha udsvar, Alpha locatefieldname, Alpha locatefieldvalue, Alpha udsmodel)
|
Parameters:
|
udsvar
locatefieldname
locatefieldvalue
udsmodel
|
Returns:
|
0 if succeeded. The relevant error number if failed.
|
Example:
|
UDSDeleteRecord ('F.CustomerList','CustomerID','15','StandardList').
Deletes the record in the StandardList UDS model's F.CustomerList flow variable, where the value of the CustomerID field = 15.
|
See also:
|
UDSClear, UDSGet, UDSGetField, UDSSet, UDSUpdateField
|