Results 1 to 2 of 2
  1. #1
    jkorinek is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2010
    Posts
    1

    linking contacts


    I am udating a database in access that was given to me with information already on it. There are two tables. One table is for company names and another table is for HR contacts.

    I want to connect the contacts table to the company names table by company. For example, I want to go to the company name table, click on wal-mart's side bar and have the HR contacts for that company show up.

    Company name is included in the HR contact table.

  2. #2
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    you will need a Form and a query.
    1. make a form
    2. make combobox that has the company names from the contacts table.
    3. make a select query joining the two tables on company name and set your Criteria for Company name to Forms!myForm!myCombo where myForm is the name of the form and myCombo is the name of the combobox you created.
    4. make a subform on your form using the wizard and the query you created.
    5. Add a Me.Requery in the AfterUpdate event in the properties box for the combobox.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Add new contacts
    By carstenhdk in forum Forms
    Replies: 8
    Last Post: 05-07-2010, 05:28 AM
  2. Link Existing Access Database to Outlook Contacts
    By rdaled in forum Database Design
    Replies: 3
    Last Post: 12-17-2009, 10:21 AM
  3. Contacts Database
    By karthikcoep in forum Access
    Replies: 0
    Last Post: 08-17-2009, 02:02 AM
  4. Outlook contacts
    By noidea in forum Access
    Replies: 0
    Last Post: 07-31-2009, 07:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums