S
Slushpump
I have a contacts table... let's say 2 fields- ID and email.
I have a groups table... it has a number of fields that are linked back to
the contacts field already (contact 1 thru nn), so that the groups table just
has a contact id number and I look up their email from the other table. One
field is also the "primary contact" (similarly linked)... for the person who
"owns" that group.
Works nicely so far, (thanks, techrat!). Until I try to send email to that
primary contact to have them verify the details.... Their email id doesn't
show up in the wizard, since it's just a number.
So I'm trying to write a query to also select the email address and return
it in my results... without any luck so far. I'm getting sql syntax errors.
Here's the kind of query I'm attempting:
SELECT GroupName, Primary,
(select Contacts.[E-mail Address] where Contacts.ID = Primary)
FROM Groups;
suggestions for a newbie? thanks
I have a groups table... it has a number of fields that are linked back to
the contacts field already (contact 1 thru nn), so that the groups table just
has a contact id number and I look up their email from the other table. One
field is also the "primary contact" (similarly linked)... for the person who
"owns" that group.
Works nicely so far, (thanks, techrat!). Until I try to send email to that
primary contact to have them verify the details.... Their email id doesn't
show up in the wizard, since it's just a number.
So I'm trying to write a query to also select the email address and return
it in my results... without any luck so far. I'm getting sql syntax errors.
Here's the kind of query I'm attempting:
SELECT GroupName, Primary,
(select Contacts.[E-mail Address] where Contacts.ID = Primary)
FROM Groups;
suggestions for a newbie? thanks