1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Drop Downs In Access

Discussion in 'Business Applications' started by Kammmie, Sep 1, 2004.

Thread Status:
Not open for further replies.
  1. Kammmie

    Kammmie Thread Starter

    Joined:
    Aug 14, 2001
    Messages:
    132
    Sorry for all of the Access questions lately but I'm doing a project for work and I'm going into some areas of Access that I've never dealt with.

    In Excel you can use formulas so that if you enter something in column a it brings up information you've matched to it in column b automatically.

    Is there a way to do this in Access? For example:

    Column A
    Column B
    Column C

    If I type a part number in column A I want the description to automatically come up in column B and the price to automatically come up in column c.

    Can anyone help?

    Thanks,
    Kammmie
     
  2. Anne Troy

    Anne Troy

    Joined:
    Feb 14, 1999
    Messages:
    11,746
    First Name:
    Anne
    Sure. You create a table called tblParts with:

    PartID (autonumber)
    PartNo (text)
    PartDesc (text)
    PartPrice (curr)

    Now, in your *main* table, where you're going to keep your records, you put a field called Part or PartNo or whatever. When choosing the field type, you choose Lookup. You look up to the tblParts, you use the PartID and PartNO as the 2 fields, hiding the first field.

    All done tables.

    When you want to VIEW (vlookup) the other data about the parts, you build a query.
    You bring the tblParts and the tblMain into the query. You drag the PartNo field from the tblMain into the query, and the other (vlookup) fields from tblParts into the query...

    You base any forms or reports (in which you need that info) on this query.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/268910

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice