Difference between revisions of "ISDBSongData::OriginalYear"

From MediaMonkey Wiki
Jump to navigation Jump to search
Line 2: Line 2:
===Property description===
===Property description===
{{Property Summary|SongData|OriginalYear|Value|Songs|OrigYear|Integer|Original Date|19740000|}}

Revision as of 00:00, 8 May 2008

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let OriginalYear As Long

Property description

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


  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
' 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