ISDBSongData::ID: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
Line 4: Line 4:


Internal identification number of the track in the Library.
Internal identification number of the track in the Library.
 
{{Property Summary|SongData|ID|Value|Songs|ID|Integer||10234|}}
[[Category:Scripting|{{PAGENAME}}]]
[[Category:Scripting|{{PAGENAME}}]]
[[Category:Automation objects|{{PAGENAME}}]]
[[Category:Automation objects|{{PAGENAME}}]]
[[Category:CoClass SDBSongData|{{PAGENAME}}]]
[[Category:CoClass SDBSongData|{{PAGENAME}}]]
[[Category:Interface ISDBSongData|{{PAGENAME}}]]
[[Category:Interface ISDBSongData|{{PAGENAME}}]]

Latest revision as of 07:53, 21 April 2008

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let ID As Long


Property description

Internal identification number of the track in the Library.

ID
Scripting Object SDBSongData
Value Name ID
Value Type Value
Database Table Songs
Field Name ID
Field Type Integer
Example Data 10234

Example Code

Complete script

Sub

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