TrkRecord.Save (method)

method Save
Syntax: object.Save
Description:
Saves the records to the database.

Notes:

If the Save method is called on a TrkRecord object, it tries to save the current record to the database. If a record that is being saved already exists in the database (duplicate ID), then the record in the database will be updated with the data in the TrkRecord object. If the record does not exist (no matching ID in the database), the method inserts a new row in the database with the information from this TrkRecord object.

Example:

...
...
...
If Not oTrkRecord is Nothing
    MsgBox "Records Index:" & oTrkRecord.ID
    oTrkRecord.TrkFields.Item("Name").Value = "Blend 1"
    oTrkRecord.Save
Else
  'Record object is empty...
End If
...
...