C
Christine
Hi
I have two tables:
tblOrganizations
Organization
OrgID PK
tblContacts
Person
Employer (=Organization)
OrgID FK
I inherited this database, so I just went through and updated the
Organizations table, which was missing a bunch of the organizations for the
contacts (which had already been entered). Now I'd like to use that to update
the Contacts table, but I'm not sure how to do it. What's tricky is that some
of the Employer fields in the Contacts table have duplicates for the same
organization, eg one will list "Metro" and another will have "The Metro". And
since the Organizations table hadn't been completely filled out, a lot of the
hundreds of contacts entered don't have an OrgID assigned to them.
Any help would be appreciated! My head doesn't wrap well around query logic.
Thanks!
I have two tables:
tblOrganizations
Organization
OrgID PK
tblContacts
Person
Employer (=Organization)
OrgID FK
I inherited this database, so I just went through and updated the
Organizations table, which was missing a bunch of the organizations for the
contacts (which had already been entered). Now I'd like to use that to update
the Contacts table, but I'm not sure how to do it. What's tricky is that some
of the Employer fields in the Contacts table have duplicates for the same
organization, eg one will list "Metro" and another will have "The Metro". And
since the Organizations table hadn't been completely filled out, a lot of the
hundreds of contacts entered don't have an OrgID assigned to them.
Any help would be appreciated! My head doesn't wrap well around query logic.
Thanks!