ISDBSongData::Custom2

From MediaMonkey Wiki
Jump to navigation Jump to search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let Custom2 As String


Property description

The Tracklist Column is configurable in Options --> Library --> Appearence

Custom2
Scripting Object SDBSongData
Value Name Custom2
Value Type String
Database Table Songs
Field Name Custom2
Field Type Text
Tracklist Column Custom 2

Example Code

Complete script

Sub

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