This particular table has about 12 checkbox columns. I only want to disply those that are checked (True). If I do a normal query I will get the rows that pass the criteria, but I'll still see all the columns that were false. Not sure if that makes sense...
Code
SELECT tblCAP.ProviderName, tblCAP.Street, tblCAP.City, tblCAP.State, tblCAP.ZIP, tblCAP.County, tblCAP.ContactPersonFirst, tblCAP.ContactPersonLast, tblCAP.ContactPhone, tblCAP.ContactFax, tblCAP.ContactEmail, tblCAP.Comments, tblCAP.Corp_Office, tblCAP.Checkbox1, tblCAP.Checkbox2, tblCAP.Checkbox3, tblCAP.Checkbox4, tblCAP.Checkbox5, tblCAP.Checkbox6, tblCAP.Checkbox7, tblCAP.Checkbox8, tblCAP.Checkbox9, tblCAP.Checkbox10, tblCAP.Checkbox11, tblCAP.Checkbox12, tblCAP.Checkbox12
FROM tblCAP
WHERE tblCAP.ProviderName="Whatever";
-----------
This gives me the rows, but I want to "hide" the columns that are not true. I thought I could do this w/ the IIf statement against those fields that I want to verify.
Thanks again!