KP_SoCal
Registered User.
- Local time
- Today, 09:15
- Joined
- Dec 4, 2009
- Messages
- 39
I would like to query each entire row in Table1 as opposed to a column for wherever Field2, Field3, or Field4 contain XYZ. The results would be displayed something like Table2. "YES" if row contains "XYZ" in Table1 and "NO" if it does not contain "XYZ" under any of the fields for that particular row. Does this make sense?
Table1
Field 1 ---------Field2----- Field3-----Field4
Product1-------XYZ---------JKL---------EFG
Product2-------JKL----------ABC-------LMN
Product3-------QRS--------DEF--------JKL
Product4-------ABC--------XYZ--------QRS
Table2 (Results)
Field 1 ---------Field2
Product1-------YES
Product2-------YES
Product3-------YES
Product4-------NO
(sorry, I tried posting this as an image before, but it didn't work)
Table1
Field 1 ---------Field2----- Field3-----Field4
Product1-------XYZ---------JKL---------EFG
Product2-------JKL----------ABC-------LMN
Product3-------QRS--------DEF--------JKL
Product4-------ABC--------XYZ--------QRS
Table2 (Results)
Field 1 ---------Field2
Product1-------YES
Product2-------YES
Product3-------YES
Product4-------NO
(sorry, I tried posting this as an image before, but it didn't work)
Last edited: