ISDBSongData::Month

From MediaMonkey Wiki
Revision as of 15:38, 3 June 2008 by Jiri (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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