G
Guest
Hi, I hope this makes sense, but it's driving me crazy.
I have a table that stores products. For every product, there are 4 types.
For example, Lamp1 has choices Lamp1A, Lamp1B, Lamp1C, and Lamp1D. Every
product has it's own field because more than one can be marked.
I created a form that lets a user filter down records based on many options
(company name, country, etc...) but I want to add the ability to filter based
on product type. The user will only care about whether or not there is a
Lamp1, so the code should be something like this:
"If Lamp1A = -1 OR Lamp1B = -1 OR Lamp1C = -1 OR Lamp1D = -1 Then Lamp1 =
Yes"
My problem is that I want Lamp1 to be a field in one table, whereas the
actual products are in another. I feel like I need to run some sort of
query.
Thanks!
I have a table that stores products. For every product, there are 4 types.
For example, Lamp1 has choices Lamp1A, Lamp1B, Lamp1C, and Lamp1D. Every
product has it's own field because more than one can be marked.
I created a form that lets a user filter down records based on many options
(company name, country, etc...) but I want to add the ability to filter based
on product type. The user will only care about whether or not there is a
Lamp1, so the code should be something like this:
"If Lamp1A = -1 OR Lamp1B = -1 OR Lamp1C = -1 OR Lamp1D = -1 Then Lamp1 =
Yes"
My problem is that I want Lamp1 to be a field in one table, whereas the
actual products are in another. I feel like I need to run some sort of
query.
Thanks!