Difference between revisions of "ISDBSongData::Year"

From MediaMonkey Wiki
Jump to: navigation, search
 
Line 2: Line 2:
  
 
===Property description===
 
===Property description===
 
+
{{Property Summary|SongData|Year|Value|Songs|Year|Integer|Date|19740000|}}
  
 
[[Category:Scripting|{{PAGENAME}}]]
 
[[Category:Scripting|{{PAGENAME}}]]

Revision as of 02:04, 8 May 2008

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let Year As Long


Property description

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

Example Code

Complete script

Sub

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