Results 1 to 7 of 7
  1. #1
    jbarrum is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Apr 2009
    Location
    Houston, Tx
    Posts
    164

    Lookup Values

    Can someon tell me if it is possible in Access to create lookup to lookup values based on a "row" in a table intead of a "column" I want the user to select the first value from a column in a table "A" and then have the second lookup pull from two fields in the same row from that table (Table "A")



    Is this possible?

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    That sounds like Cascading ComboBoxes to me.

  3. #3
    jbarrum is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Apr 2009
    Location
    Houston, Tx
    Posts
    164
    It appears that this will work if the data I want to look up is in different rows but I was trying to look up data that is in the same row. The best example I can give would be if the user hits the drop down & selects the employee and then selects the second drop down and chooses between his address or his phone number. (with address and phone_num being in the same row)?

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Without some other value or control to select the column I do not know how to get that.

  5. #5
    jbarrum is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Apr 2009
    Location
    Houston, Tx
    Posts
    164
    Yes, that is what I thought. I need to see if I can find a way to store the data I want to lookup on different rows. Otherwise, I will just have to forgo what I was trying to do. Thanks for the quick reply.

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Unless you use different ComboBoxes for the various columns. You can select any column of data in the RowSource of a ComboBox since it has a Column() property.

  7. #7
    jbarrum is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Apr 2009
    Location
    Houston, Tx
    Posts
    164
    Good idea, I will try and work it that way. Thanks

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

Similar Threads

  1. Many To Many lookup
    By todavy in forum Forms
    Replies: 0
    Last Post: 12-15-2009, 09:27 AM
  2. Lookup values in one column from another record
    By cjayjones in forum Queries
    Replies: 16
    Last Post: 08-05-2009, 02:27 PM
  3. Lookup Values
    By gjw1012 in forum Access
    Replies: 5
    Last Post: 07-22-2009, 08:56 AM
  4. lookup values in backend tables
    By deb56 in forum Database Design
    Replies: 1
    Last Post: 01-23-2008, 11:12 AM
  5. Lookup
    By neon'00 in forum Forms
    Replies: 2
    Last Post: 04-14-2007, 01:19 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