Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Jourdan Dixon4,752 Points
How do you filter a list (ID, Title, Descr, CatID) based on a multi-select drop down (CatID) on the previous activity?
I'm trying to think of a good way to filter a list view of games in Activity B where each game has a category ID. I'd like to do this based on which Category IDs the user selects from a multi select drop down (CatID, CatName) on the previous activity, Activity A. I'm hitting my head against a wall, here! I'm thinking SQLite DB and create a dynamic WHERE changing the CatID Array to a csv String. Something like "WHERE CatID IN (csv String)". That's the idea, but putting it in action is another story. Does anyone know of a basic example of something like that? I can't seem to find anything. :)