From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBTracksWindow, Interface ISDBTracksWindow

Sub AddTracksFromCustomQuery(SQL As String)


Name Type Description
SQL String SQL SELECT command to be executed

Method description

Adds a set of tracks to the tracklist window. The tracks added are those selected by the supplied SQL. This command expects full SQL, i.e. including SELECT, FROM, WHERE and other necessary parts. MediaMonkey expects all fields of Songs database table to be present in the result set (i.e. something like SELECT Songs.* FROM Songs...)