ms access - Query to show whether an entry from one table is in the other -


this might simple, can't figure out. in 1 table have people, in other event people. i'd make query in first coloumn list of people table 1 , in other simple yes/no, based on whether id in table two.

open query builder , add both tables (people , events).
select fields people table , @ least 1 field events table. should joined via primary key of people table. right click on join between 2 tables , select join properties. select "include records people , events joined fields equal." use formula in yes/no field: iif(isnull([eventfield]),"no","yes")

that 1 way of doing it...


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -