ISDBSongData::DiscNumberStr: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| No edit summary | MoDementia (talk | contribs)  No edit summary | ||
| Line 6: | Line 6: | ||
| Introduced in MediaMonkey 3.0.0.1093. | Introduced in MediaMonkey 3.0.0.1093. | ||
| This may have changed in subsequent versions. DiscNumber shows {null} but Text in table while DiscNo is not listed in the table but looks like a string<br> | |||
| Best Guess at this stage is DiscNumber = DiscNumber, DiscNumberStr = DiscNo  | |||
| {{Property Summary|SongData|DiscNumberStr|String|Songs|DiscNo|Text|||}} | |||
| [[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}}]] | ||
Revision as of 01:47, 12 April 2008
CoClass SDBSongData, Interface ISDBSongData
Property Get/Let DiscNumberStr As String
Property description
Disc # 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.
This may have changed in subsequent versions. DiscNumber shows {null} but Text in table while DiscNo is not listed in the table but looks like a string
Best Guess at this stage is DiscNumber = DiscNumber, DiscNumberStr = DiscNo 
| Scripting Object | SDBSongData | 
| Value Name | DiscNumberStr | 
| Value Type | String | 
| Database Table | Songs | 
| Field Name | DiscNo | 
| Field Type | Text | 
Example Code
Sub For iCounter = 0 to objSongList.count - 1 'SongLists Set objSongData = objSongList.Item(iCounter) StringDiscNumberStr = objSongData.DiscNumberStr SDB.MessageBox "Value = '" & StringDiscNumberStr & "'", mtError, Array(mbOK) 'SDB.MessageBox Next ' objSongData.DiscNumberStr = StringNewDiscNumberStr 'Commented Out For Safety ' objSonglist.UpdateAll 'Commented Out For Safety 'UpdateAll Updates db and writes tags (if checked in options) End Sub
