TrkRecord.Save (method)

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


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.


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