G
Guest
I have a form with 7 different check boxes, unbound. Each one of these is
given a tag value. Now I also have a combo box unbound. I am trying to run a
select query where if the check box is true then add it to the combo box
query, if not then don't. I am sure this possible, but I am unsure on how to
do this. I tried if the checkbox = true then add, but that didn't work as
well. Here is my test for just one of them. Any suggestions?
SELECT tblCategory.CATID, tblCategory.Category
FROM tblCategory
WHERE
((tblCategory.CATID)=IIf([Forms]![frmSetupForCRTPPractical]![RW_D]=True,"1"))
ORDER BY tblCategory.CATID;
given a tag value. Now I also have a combo box unbound. I am trying to run a
select query where if the check box is true then add it to the combo box
query, if not then don't. I am sure this possible, but I am unsure on how to
do this. I tried if the checkbox = true then add, but that didn't work as
well. Here is my test for just one of them. Any suggestions?
SELECT tblCategory.CATID, tblCategory.Category
FROM tblCategory
WHERE
((tblCategory.CATID)=IIf([Forms]![frmSetupForCRTPPractical]![RW_D]=True,"1"))
ORDER BY tblCategory.CATID;