ISDBSongData::Year: Difference between revisions
Jump to navigation
Jump to search
MoDementia (talk | contribs) No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
===Property description=== | ===Property description=== | ||
Year part of the full date. Note that if you set this value, you automatically erase Month and Day to 0. So, if you want to set the full date this way, you have to set Year first and only then Month and Day. | |||
{{Property Summary|SongData|Year|Value|Songs|Year|Integer|Date|19740000|}} | {{Property Summary|SongData|Year|Value|Songs|Year|Integer|Date|19740000|}} | ||
Revision as of 15:40, 3 June 2008
CoClass SDBSongData, Interface ISDBSongData
Property Get/Let Year As Long
Property description
Year part of the full date. Note that if you set this value, you automatically erase Month and Day to 0. So, if you want to set the full date this way, you have to set Year first and only then Month and Day.
Scripting Object | SDBSongData |
Value Name | Year |
Value Type | Value |
Database Table | Songs |
Field Name | Year |
Field Type | Integer |
Tracklist Column | Date |
Example Data | 19740000 |
Example Code
Sub For iCounter = 0 to objSongList.count - 1 'SongLists Set objSongData = objSongList.Item(iCounter) ValueYear = objSongData.Year SDB.MessageBox "Value = '" & ValueYear & "'", mtError, Array(mbOK) 'SDB.MessageBox Next ' objSongData.Year = ValueNewYear 'Commented Out For Safety ' objSonglist.UpdateAll 'Commented Out For Safety 'UpdateAll Updates db and writes tags (if checked in options) End Sub