I am about as far from a genius on this as you can get, but I think you could accomplish what you need with one query, aliases, and function statements.
It seems that you want a list of the fields that have "Yes" values. From your query, it looks like you are harvesting features of products and want to list the features that each product has.
If my assumtions are correct, this may help.
I'm accustomed to using the QBE grid so that's how I'll describe it. You can look at the SQL view if you want to run it from code.
From the Database window, select Queries > New > Design. Select the table or tables you want and double-click on the fields you want included.
Your field names are: Variable Report Form, CPU Manuf, Processor Class, Processor Speed, and 10/100
In the 'Field' for Variable Report Form, type:
Code:
YES1: IIf([Variable Report Form] = -1, "Variable Report Form ", "")
In the 'Field' for CPU Manuf, type:
Code:
YES2: IIf([CPU Manuf] = -1, "CPU Manuf ", "")
Do the same for your other fields with aliases: YES3, YES4, YES5.
When you run your query, any of the yes values will show the field name followed by a couple of spaces.
Now, in the next open column of the grid, type the following in the field space:
Code:
FEATURES: [YES1] & [YES2] & [YES3] & [YES4] & [YES5]
Select this last column as the only one to show. When you run the query, you
should (fingers crossed) see one column with a header: "FEATURES" and a string of the field names where the checkboxes were ticked.
FEATURES
Rec1 Variable Report Form Processor Speed
Rec2 CPU Manuf Processor Class 10/100
Rec3 Processor Speed
Rec4 Variable Report Form Processor Class 10/100
HTH
John