Results 1 to 4 of 4
  1. #1
    ksukat is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    3

    Creating data entry form

    Have the following tables:
    Client
    client_num text
    client_name text
    client_addr1 text


    client_addr2 text

    Jobs
    client_no text
    job_num text
    job_start date
    job_stop date
    tot_hrs decimal

    I have created a form with its data source of Jobs.
    I have put a combo box on the form for the user to choose the client_num. I want the combo box filled with client_nums from the client table. when the user selects a client_num, I want a text box on the form to show the client_name.

    I have googled and tried a thousand things. None have worked. I know this has to be simple, so ... what is the right way to do this ?

  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,652
    A thousand?

    Make sure the name field is included in the row source of the combo, and have this as the control source of the textbox:

    =ComboName.Column(x)

    where x is the column containing the name (note the column property is zero based, so the second column is 1).
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    ksukat is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    3
    Well, maybe 5 or 6. When frustrated that equals 1000.

    BTW, elegant and it worked. Thanks!

  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,652
    No problemo, and welcome to the site by the way!
    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. Replies: 6
    Last Post: 10-22-2022, 08:27 AM
  2. Can't get new field to show in my data entry form
    By Suzie in forum Database Design
    Replies: 19
    Last Post: 12-21-2009, 03:48 PM
  3. Opening Form in Data Entry Mode Problem
    By alsoto in forum Forms
    Replies: 1
    Last Post: 05-28-2009, 07:45 PM
  4. Form Data Entry Problem?
    By corystemp in forum Database Design
    Replies: 1
    Last Post: 03-21-2009, 02:29 PM
  5. Run report or sub form during data entry
    By wasim_sono in forum Programming
    Replies: 0
    Last Post: 03-09-2006, 05:40 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