EditB

Purpose
Used to update the data associated with a specified record.

Syntax (Method)
object.EditB Key, Data

Parameters
Key (String)   The key of the record to edit.
Data (Byte Array)   The new data to assign to the specified record.

Notes
If the specified record exists, its data is updated to the value passed in Data.

If multiple records exist with a matching key, only the first record with a matching key is updated.

If the specified record does not exist, no records are affected.

If an error occurs, no records are affected.

Error Values
After calling this function, the property ErrorNumber will report one of the following values:

rtCDP_ErrNoError
rtCDP_ErrRecordNotFound
rtCDP_ErrKeyTooLong
rtCDP_ErrDataTooLong

Example
See Edit.

Version History
1.0 1/30/2001 Tested

See Also
EditArrayB, EditRecB