S
Stephanie
They scare me! I do have a copy of the db.
Here's what I'm trying to say:
Find Contacts who are Board Members and make them Gala Members as well.
Here's my query to find Board Members:
SELECT Contacts.LastName, Contacts.ContactID
FROM Contacts INNER JOIN (Groups INNER JOIN GroupMembers ON Groups.GroupID =
GroupMembers.GroupID) ON Contacts.ContactID = GroupMembers.ContactID
WHERE (((Groups.GroupName)="Board of Directors") AND
((GroupMembers.GMemberEnd) Is Null));
The Groups.GroupID for "Gala" is 12.
GroupMembers contains: GroupMemberID, GroupID, ContactID,GMemberEnd
Here's what I'm thinking so far:
UPDATE GroupMembers SET GroupMembers.GroupID = 12
WHERE (((Groups.GroupName)="Board of Directors") AND
((GroupMembers.GMemberEnd) Is Null));
But I've seem to have lost the ContactID info. And I want to make sure that
I'm not going to overwrite "Board of Directors" with "Gala"...
I'd appreciate your suggestions.
Here's what I'm trying to say:
Find Contacts who are Board Members and make them Gala Members as well.
Here's my query to find Board Members:
SELECT Contacts.LastName, Contacts.ContactID
FROM Contacts INNER JOIN (Groups INNER JOIN GroupMembers ON Groups.GroupID =
GroupMembers.GroupID) ON Contacts.ContactID = GroupMembers.ContactID
WHERE (((Groups.GroupName)="Board of Directors") AND
((GroupMembers.GMemberEnd) Is Null));
The Groups.GroupID for "Gala" is 12.
GroupMembers contains: GroupMemberID, GroupID, ContactID,GMemberEnd
Here's what I'm thinking so far:
UPDATE GroupMembers SET GroupMembers.GroupID = 12
WHERE (((Groups.GroupName)="Board of Directors") AND
((GroupMembers.GMemberEnd) Is Null));
But I've seem to have lost the ContactID info. And I want to make sure that
I'm not going to overwrite "Board of Directors" with "Gala"...
I'd appreciate your suggestions.