Results 1 to 4 of 4
  1. #1
    benjammin is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Nov 2010
    Posts
    60

    Question lookups and data selection help

    Hello,



    I'm working on a small inventory database and it's been awhile since I've created a database so some things are not so clear. I have a table Equipment that is mostly based off of the Lookup Wizard linking to other tables such as Location and Stations. Locations is a table which has the general site location such as sitename: Green River location: Green River, UT. Stations is a "sub-table" with individual stations so I have a lookup field that refers to sitename in table Location and then there are stationnames (so i guess one sitename for many stationnames).

    So,

    sitename is linked to eachother in Location and Stations tables.

    I guess that's just the background. I'm getting to my question, in my Equipment table I used the Lookup Wizard for location and stationname. However, when I choose the location, ie, Green River, it lists all the stationname data instead of data specific to the Green River sitename. How do make access know that when I choose the Green River location that I want it to only display Green River stations in the next lookup wizard/field. Does this make sense at all?

    If this can be solved then that will make the rest of the design much easier as I have this problem for other tables, such as, when I choose EquipmentType (from the Equipment Type table) datalogger, it lists all the models of every piece of equipment I have (from the Equipment Models table) instead of just the models with the equipmenttype datalogger.

    Hopefully this helps and isn't completely confusing...


    Thanks

  2. #2
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    It appears that what you are trying to achieve are cascading combo boxes. Here is a link on how to do that in a form.

    http://www.fontstuff.com/access/acctut10.htm

    Alan

  3. #3
    benjammin is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Nov 2010
    Posts
    60
    Thanks! That's exactly how my tables are setup and what I want. Do I even need to use lookup tables then? Maybe I'm confused about the whole lookup tables idea and really I need to learn more about simple relationships...

  4. #4
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Look at this site and scroll down to the section on combo boxes. It will teach you everthing you will need to know.

    http://www.datapigtechnologies.com/AccessMain.htm

    Alan

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

Similar Threads

  1. Replies: 1
    Last Post: 11-11-2010, 11:00 AM
  2. Selection data in table
    By bbeernaert in forum Access
    Replies: 2
    Last Post: 08-24-2010, 04:27 AM
  3. Access ADP & Lookups
    By sql_dan in forum Access
    Replies: 0
    Last Post: 06-09-2010, 04:25 AM
  4. Replies: 13
    Last Post: 11-25-2009, 03:10 PM
  5. Data selection
    By cesander in forum Forms
    Replies: 0
    Last Post: 09-18-2008, 02:24 PM

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