ISDBSongData::Title: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
MoDementia (talk | contribs) (Added Property Summary Template (right side table) which includes Example Code Template for user comments linked in the scripting forum http://www.mediamonkey.com/forum/viewtopic.php?p=142324) |
||
Line 2: | Line 2: | ||
===Property description=== | ===Property description=== | ||
{{Property Summary|SongData|Title|String|Songs|SongTitle|Text|Title|Waterloo|Main List Sub Item String}} | |||
[[Category:Scripting|{{PAGENAME}}]] | [[Category:Scripting|{{PAGENAME}}]] |
Latest revision as of 02:32, 9 April 2008
CoClass SDBSongData, Interface ISDBSongData
Property Get/Let Title As String
Property description
Scripting Object | SDBSongData |
Value Name | Title |
Value Type | String |
Database Table | Songs |
Field Name | SongTitle |
Field Type | Text |
Tracklist Column | Title |
Example Data | Waterloo |
Hierarchy | Main List Sub Item String |
Example Code
Sub For iCounter = 0 to objSongList.count - 1 'SongLists Set objSongData = objSongList.Item(iCounter) StringTitle = objSongData.Title SDB.MessageBox "Value = '" & StringTitle & "'", mtError, Array(mbOK) 'SDB.MessageBox Next ' objSongData.Title = StringNewTitle 'Commented Out For Safety ' objSonglist.UpdateAll 'Commented Out For Safety 'UpdateAll Updates db and writes tags (if checked in options) End Sub