Difference between revisions of "ISDBSongData::Occasion"

From MediaMonkey Wiki
Jump to: navigation, search
Line 2: Line 2:
===Property description===
===Property description===
{{Property Summary|SongData|Occasion|String|Songs|Occasion|Text|Occasion|Background|}}

Latest revision as of 23:48, 7 May 2008

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let Occasion As String

Property description

Scripting Object SDBSongData
Value Name Occasion
Value Type String
Database Table Songs
Field Name Occasion
Field Type Text
Tracklist Column Occasion
Example Data Background

Example Code

Complete script


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