ISDBTracksWindow::AddTracksFromCustomQuery

From MediaMonkey Wiki
Revision as of 10:40, 30 July 2007 by Jiri (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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...)