How to access Collections

Post a reply

:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review

Expand view Topic review: How to access Collections

Re: How to access Collections

by Peke » Sun Nov 30, 2014 7:17 am

Check Submit options from Plugin options and you can see example on how to read and handle filters/collections.

Re: How to access Collections

by mcow » Sat Nov 29, 2014 12:56 am

I haven't done this, but looking at the documentation for SDB.DataBase (SDBDataBase), you can do two things with the Filter ID value:

Code: Select all

SDB.Database.ActiveFilterID = collectionID      # sets an "active filter," which I think means all subsequent
                                                # queries are applied only to the tracks in the collection

SDB.QuerySongs( GetFilterQuery(collectionID) )  # returns a list of all the tracks in the collection

How to access Collections

by bakker_be » Wed Nov 26, 2014 5:06 pm

Hi there,
how can I access what's the content of a collection? I'm trying to make a MS Access front-end allowing me to more easily create and manage collections for the summer festivals I attend. I've found that the collections themselves are in the "Filters" table, but I can't seem to find how I can influence or even determine their content ...
Thanks for any pointers