A little pre-information so that my question will make more sense:
I have a database that tracks our company's repairs with two main tables (there are other tables but they basically hold lookup information for data entry).
These two tables are called RMA and Product.
[tblRMA] contains all the information for each of the repairs. It's primary key is the .[RMA] field which is a unique number to each entry (obviously). The [tblProduct] contains an .[RMA] field, a .[Serial] number, and a .[Model] number.
The two tables have a many to one relationship. That is, there can be many [tblProduct] entries for one [tblRMA]. They are related on the .[RMA] field.
The QUESTION:
So I have a form that allows us to search for a serial number using a textbox and a command button. I have a universal report that shows the information for a [tblRMA] and a subtable that shows that .[RMA]'s associated Products by displaying each [Model] and [Serial]. I know how to filter this report using the WhereCondition for all of the items in [tblRMA] but I am confused as to how to filter it for a search criteria based on the [tblProduct] subtable. I created a query (lets call it subqrySerialSearch) that returns all of the entries in [tblProduct] where the [Serial] matches the text box. Now after this I figured I can take each .[RMA] in this query and use an IN clause to filter the report. Something like:
WhereCondition = "IN {set of all RMAs in the subqrySerialSearch}"
So I need to figure out how to create that set for the WHERE clause
I figured I can traverse the query using a loop and append each .[RMA] value to a string that I can use in formulating the WhereCondition.

OR
If that's a stupid idea, please suggest something more efficient.
