Results 1 to 4 of 4
  1. #1
    nkuebelbeck is offline Advanced Beginner
    Windows 7 Access 97
    Join Date
    Mar 2010
    Posts
    91

    lookup tables

    I am trying to create a form where the user looksup up a product(combo box) and when the product is selected it fills in another field to the right automatically. Both product description and price are in a lookup table.



    Is this possible? Never done this before.

    building this in access 97 for legacy purposes.

    I've attached a photo of what i am trying to do.
    Thanks

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    Fairly easy. For display, this as the control source of the textbox:

    =ComboName.Column(1)

    If the value needs to be saved (thus the textbox needing to be bound to the table), this in the after update event of the combo:

    Me.TextboxName = Me.ComboName.Column(1)
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    nkuebelbeck is offline Advanced Beginner
    Windows 7 Access 97
    Join Date
    Mar 2010
    Posts
    91

    Thanks

    Once again, thanks!

    Kudos!

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    No problemo!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Lookup Tables
    By corinthianw in forum Access
    Replies: 1
    Last Post: 02-17-2010, 01:31 PM
  2. Microsoft Access Lookup tables
    By bitert01 in forum Forms
    Replies: 1
    Last Post: 02-20-2009, 02:55 PM
  3. lookup values in backend tables
    By deb56 in forum Database Design
    Replies: 1
    Last Post: 01-23-2008, 11:12 AM
  4. Replies: 1
    Last Post: 07-06-2007, 08:27 AM
  5. Lookup Tables
    By JoeBio in forum Database Design
    Replies: 1
    Last Post: 09-01-2006, 07:34 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