ISDBSongData::OriginalYear

From MediaMonkey Wiki
Revision as of 00:00, 8 May 2008 by MoDementia (talk | contribs)
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let OriginalYear As Long


Property description

OriginalYear
Scripting Object SDBSongData
Value Name OriginalYear
Value Type Value
Database Table Songs
Field Name OrigYear
Field Type Integer
Tracklist Column Original Date
Example Data 19740000

Example Code

Complete script

Sub

  For iCounter = 0 to objSongList.count - 1                                    'SongLists
      Set objSongData = objSongList.Item(iCounter)
      ValueOriginalYear = objSongData.OriginalYear
      SDB.MessageBox "Value = '" &  ValueOriginalYear & "'", mtError, Array(mbOK)    'SDB.MessageBox
  Next
' objSongData.OriginalYear = ValueNewOriginalYear 'Commented Out For Safety
' objSonglist.UpdateAll              'Commented Out For Safety                 'UpdateAll
                         Updates db and writes tags (if checked in options)
End Sub