ISDBTracksWindow::AddTracksFromCustomQuery

From MediaMonkey Wiki
Jump to navigation Jump to search

CoClass SDBTracksWindow, Interface ISDBTracksWindow

Sub AddTracksFromCustomQuery(SQL As String)


Parameters

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...)