Query Of Query...Somewhat...
I have a problem I can't quite figure out for some reason. I'm trying to create an advanced search using part Verity cfsearch and part regular database cfquery. I have to do this because the advanced search uses text-based criteria as well as number criteria, and apparently Verity does not support numerical comparison (at least not for me...See my previous thread about it). Regardless, here's my situation:
I'm doing a cfsearch on a Verity collection for a keyword. This works and returns a query collection named "qryFoundProducts." I then want to take all the primary keys of this query and search my database for all products that match these keys. So basically, the resulting query from my database should match the Verity query, but instead it will be a regular database query and not a Verity query, which I can then perform another query on for numerical comparisons. How would I go about doing this? I've tried putting it in a cfloop, but this just writes over the previous query and only returns one product when the loop is through. I need a way to build the query each time through the loop when a primary key match is found.
Any infomation would be greatly appreciated.
Thank you.
