ISDBSongData::Month

From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let Month As Long


Property description

Month part of the full release date. It can be 1-12 or 0 in case it is unknown.

Month
Scripting Object SDBSongData
Value Name Month
Value Type Value
Database Table Songs
Field Name Year
Field Type Integer
Tracklist Column Date
Example Data 19741023

Example Code

Complete script

Sub

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