Results 1 to 5 of 5
  1. #1
    genest11 is offline Novice
    Windows XP Access 2000
    Join Date
    Jan 2010
    Posts
    19

    Lookup

    I created my database years ago in Access 2003 and have not changed much over the past several years. We now have Access 2010 and I need to add a second table to my small one table database. The database currently has the following columns:



    Table Name: Owners
    ID: auto number
    First name: Text
    Last name: Text
    Address: Text
    Citystzip: Text

    The Table I want to add has the following:

    Table Name: Annual Cert
    certID: auto number
    Last name: Text
    Calendar Year: Date/Time
    Certmailed: Date/Time
    Certreceived: Date/Time

    I would think that my relationship of one to many would be: ID (one) to Calendar Year (many) as this table will be updated yearly so one owner may have many calendar years. (Is my thinking right on this?)

    What I need to do is type in an ID number in the Annual Cert table in a field that will automatically lookup the last name and insert it into the Annual Cert table field Last name field. From there I want to continue to input the dates in the last two fields.

    I cannot figure out what I need to do next. Any help/suggestions? Thank you.

  2. #2
    drewetzel is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Oct 2011
    Location
    Austin, TX
    Posts
    34
    I may be misunderstanding what you're trying to accomplish, but it seems that instead of listing "last name" in both tables you could leave it out of the Annual Cert table, just query the two tables linking "ID" to "certID" and drop the information you need from each table.

  3. #3
    RayMilhon is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,067
    I am making a presumption here that CertID is the Identification Number of the Certification and ID is the Identification of the Owner. Replace the last name column in the Annual Cert table with OwnerID. You would then link the owner table to the certification table from ID to OwnerID. That way you would be able to track each owner and Keep a history of each Year's certifications.

  4. #4
    genest11 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2010
    Posts
    19
    drewetzel,

    Thank you for your response. I am trying to add info into the new table Annual Cert so I can do a report. I will have the ID number for the owner, I need the Last Name to appear on the form so I can confirm that I am inputing the correct Certmailed & Certreceived dates.

    So I create a form and on that form I have a field where I put in the ID number. In the next field the Last Name that matches the ID number will appear. That will confirm I have the correct owner and I can then fill in the Calendar Year, Certmailed and Certreceived dates.

    Sorry if my explanations are not clear but I am not to fluent in Access.

  5. #5
    genest11 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2010
    Posts
    19
    RayMilhon,

    I will try your suggestion about changing the Last Name to OwnerID. I am trying to perform (for a lack of the proper term) a lookup of the Last Name based on the ID. Thank you.

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

Similar Threads

  1. Using the Lookup
    By jo15765 in forum Access
    Replies: 5
    Last Post: 11-28-2010, 12:16 PM
  2. Lookup or new
    By asmith in forum Forms
    Replies: 6
    Last Post: 09-29-2010, 12:58 PM
  3. lookUp
    By Balen in forum Access
    Replies: 2
    Last Post: 08-08-2010, 02:09 AM
  4. LookUP Help
    By DaveyJ in forum Forms
    Replies: 6
    Last Post: 06-25-2010, 11:27 PM
  5. Many To Many lookup
    By todavy in forum Forms
    Replies: 0
    Last Post: 12-15-2009, 09:27 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