This is SQL to retreive only records for EventA
Code:
SELECT RSVP.AutoNum, RSVP.GuestID, RSVP.EventName
FROM RSVP
WHERE (((RSVP.EventName)="EventA"));
THis is SQL to get both EventA and EventC
Code:
SELECT RSVP.AutoNum, RSVP.GuestID, RSVP.EventName
FROM RSVP
WHERE (((RSVP.EventName)="EventA" And (RSVP.EventName)="EventB"));
You could base a form's Recordsource property off of the following SQL
Code:
SELECT RSVP.AutoNum, RSVP.GuestID, RSVP.EventName
FROM RSVP;
And then dynamicaly update the form's filter by applying a WHERE clause to the form's Filter or Recordsource.
Code:
WHERE (((RSVP.EventName)="EventA" And (RSVP.EventName)="EventB"));
I believe the filter property does not use the WHERE operator, so you would just leave that part out.