
Signature
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
I'm not even sure what to do with that. I was using the expression builder.
How do I use that to get a list of names that have banquet50 or banquet80
checked and then the complete record?
> > Using Access 2003, I have Table1 with fields name, Banquet50 and
> > banquet 80 among others. Name is a text field and Banquet50 and
[quoted text clipped - 8 lines]
> WHERE Banquet50 = True
> OR Banquet80 = True
John W. Vinson - 11 Feb 2008 06:50 GMT
>I'm not even sure what to do with that. I was using the expression builder.
>How do I use that to get a list of names that have banquet50 or banquet80
>checked and then the complete record?
You don't need to use the expression builder, and you don't need IIF at all.
Create a Query based on your table. Include the name field, the Banquet50
field, and the Banquet80 field (and any other fields that you want to see or
search).
On the first Criteria line under Banquet50 type
True
On the next criteria line under that (to use OR logic, since putting the
criterion on the same line would require that both boxes be checked) type
another True.
Open the query; you'll see the names that have either checkbox selected.

Signature
John W. Vinson [MVP]
Rick Brandt - 11 Feb 2008 12:43 GMT
> I'm not even sure what to do with that. I was using the expression
> builder. How do I use that to get a list of names that have banquet50
> or banquet80 checked and then the complete record?
Open a new query, switch to SQL view, paste what I posted, then switch to design
view.

Signature
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com