Difference between revisions of "ISDBSongData::TrackOrderStr"

From MediaMonkey Wiki
Jump to: navigation, search
 
 
Line 5: Line 5:
 
Track # field, as a string in this case, i.e. it can handle values like '1', '01', 'I', etc.
 
Track # field, as a string in this case, i.e. it can handle values like '1', '01', 'I', etc.
  
Introduced in MediaMonkey 3.0.0.1093.
+
Introduced in MediaMonkey 3.0.0.1093.<br>
 
+
Replaces [[ISDBSongData::TrackOrder|TrackOrder]]
 +
{{Property Summary|SongData|TrackOrderStr|String|Songs|TrackNumber|Text|Track #|7|}}
 
[[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 22:27, 24 May 2008

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let TrackOrderStr As String


Property description

Track # field, as a string in this case, i.e. it can handle values like '1', '01', 'I', etc.

Introduced in MediaMonkey 3.0.0.1093.
Replaces TrackOrder

TrackOrderStr
Scripting Object SDBSongData
Value Name TrackOrderStr
Value Type String
Database Table Songs
Field Name TrackNumber
Field Type Text
Tracklist Column Track #
Example Data 7

Example Code

Complete script

Sub

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