I picked up Access a few weeks ago and have gotten pretty good at basic queries and VBA. However, I've run into one that's beyond my ability to figure out and I'm having trouble describing well enough to google it. Here's my situation:
I have two tables.
1. An export of all my iPhone texts (tblSMS).
It has the phone number, the timestamp, and the text message.
Phone Number Timestamp Text Message 8131111112 4/7/2012 Yo, how's it going? 8131111113 4/7/2012 All the clouds are falling :-/ 8131111112 4/8/2012 Yeah, me too. 8131111114 4/9/2012 Dude this is a wrong number.
2. An export of all my iPhone contacts (tblContacts).
It has the Name and up to three phone numbers.
Name Phone 1 Phone 2 Phone 3 Bill Davis 8131111113 8139999991 Johny Depp 8139999992 8139999993 8131111112 Corey Epstein 8139999994 8139999996
I would like to create a query with all the fields in table 1 PLUS the contact with a matching phone number. So the query result would be:
Phone Number Timestamp Text Message Contact 8131111112 4/7/2012 Yo, how's it going? Johny Depp 8131111113 4/7/2012 All the clouds are falling :-/ Bill Davis 8131111112 4/8/2012 Yeah, me too. Johny Depp 8131111114 4/9/2012 Dude this is a wrong number. Not Found
What does this query look like?
Thank you,
Dan