i found another pretty similar, but not close enough as i'm still very much learning.
i have two tables. table1 allows for multi-select and ideally, i want only the matching records in table2 to be displayed if they're selected in table1.
the query for table1 returns all the items belonging to a contract, along w/ their "PTID" and the query for table2 returns ALL the orders where these contract items have been ordered.
ideally, i would like ALL the checkboxes (rows) PRE-selected, displaying all the orders in table2, and allowing the user to uncheck items in table1 which would subsequently remove them from table2 results. (that's a different issue i haven't attempted to tackle, but bonus pts if you help with that issue. lol)
i don't really feel like hitting the DB each time a checkbox is checked, esp when i already have the data for the orders, i just want to hide the orders that correspond to the unchecked checkboxes.
i'm assuming i should be using a transformer and doing some kind of filter?
here's a picture of what i mean: