ISDBSongData::Day

From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let Day As Long


Property description

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

Day
Scripting Object SDBSongData
Value Name Day
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)
      ValueDay = objSongData.Day
      SDB.MessageBox "Value = '" &  ValueDay & "'", mtError, Array(mbOK)    'SDB.MessageBox
  Next
' objSongData.Day = ValueNewDay 'Commented Out For Safety
' objSonglist.UpdateAll              'Commented Out For Safety                 'UpdateAll
                         Updates db and writes tags (if checked in options)
End Sub