First I would like to thank you for your diligence and patience with a dummy
like me! My sophistication level in Access leaves much to be desired yet.
This is the overview:
I have a table called "tbCompany" that has over 3,000 company info records.
I also have a table called "tbTradeShowAttendees" that is currently empty
(no records yet).
I also have a table called "tbTSIndividualAttendees" that has 4000+ records
Each year we organize a Trade Show of which any of 3,000+ companies MAY
attend as well as the individuals associated with tht company.
Therefore each company may have multiple records in the
"tbTradeShowAttendees" table for any YEARS it attended the show. Similarly,
and Company attending the Trade show MAY have multiple individuals attending
the show for that year.
NOW MY STRATEGY:
Have a COMPANY INFO FORM that displays general company information. On this
form have a control button that; 1. Opens a new form called "TRADE SHOW
ATTENDEES FORM." 2. Automatically enter the CompanyID field (which is a
Primary Key-auto-number) into the "TRADE SHOW ATTENDEES FORM"'s field called
MM_ExhibitID. 3. Now that I have this ID into this form I can display the
COMPANY Name that is associated with that CompanyID from the "tbCompany"
table. 4. The "tbTradeShowAttendees" has a Primary Key (auto-numbered)
called "MM_TradeShowNum." The reason there is this Primary Key is that
another table called "tbTSIndividualAttendees" is linked to each Trade Show.
Each year's Trade Show MAY have different or the same individuals attending
the show from that company.
I hope I'm more clear now. Please note that if you can offer a solution,
take into consideration my experience level. Thanks!
ruralguy via AccessMonster.com said:
I re-read all of the posts to make sure I understand what you are trying to
accomplish. Where does the MM_ExhibitID come from? Is it an Exhibitors
table maybe? Does everyone have one of these ID's? Is there more than one
Trade show in the TradeShow table? Does the TradeShow table have a Primary
Key and is it an AutoNumber?
Both the CompanyID and MM_ExhibitID are numbers that "share" the same number.
If you only have that number (as well as the other data needed for the Trade
Show) it would be difficult to identify the company attending. I therefore
show on the Trade Show Attendees Form the CompanyName that is part of the
record having that specific CompanyID number. I hope I've made myself clear!
Why are you trying to match up both the name and the ID field?
[quoted text clipped - 5 lines]
Can anyone describe to me how I might accomplish the above by using a
control button?