SDK - Updating Records

  • KM510826
  • 20-Sep-2008
  • 20-Sep-2008

Archived Content: This information is no longer maintained and is provided "as is" for your convenience.

Reference

Return to SDK Samples

Updating Records

So far we have only considered the methods for reading information from records in TRIM. The SDK also allows you to update TRIM records, either by updating the values of properties on a given Record object, or by calling methods on the record.

Updating properties is the simplest way to modify the metadata of a record. You simply assign a new value of the correct data type to the named property of the object. Field-level verification is carried out, and an error will be raised if the property update is invalid (see also Verifying and Error Trapping section). For more complicated types of updates to a record, you must generally call methods that instruct TRIM to modify the record, based on arguments passed.