Results 1 to 9 of 9
  1. #1
    myboii is offline Novice
    Windows 2K Access 2000
    Join Date
    Jul 2010
    Posts
    3

    Cool auto populate combo field?

    dear all,

    good day!

    would like just to seek for an assistance.
    my problem is how can i automatically populate the
    data into the combo txtbox2 after i updated or input the data
    in combo txtbox1.



    wish i could have the answer soon. this will help me more in my project.

    thanks in advance.

    regards,
    bryan

  2. #2
    Rawb is offline Expert
    Windows XP Access 2000
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    Just create an After Update Event for txtbox1 that sets the value of txtbox2.

    Code:
    Me!txtbox2="Blah!"

  3. #3
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    here are some questions that I would like ask here:

    1) Update what do you specifically mean by that.
    2) If it is that the data which is entered in a text box will appear in a combobox then I have the following question:
    a) What is the Row Source type of your combo box. A value List or a SQL or a Table.

  4. #4
    myboii is offline Novice
    Windows 2K Access 2000
    Join Date
    Jul 2010
    Posts
    3
    thanks rawb and maximus.

    anyway i still couldnt get this out,

    what i mean for this is when i selected the code data to my combobox1
    like 0001, combobox2 will automatically populate the corresponding data like
    e.g. sample001. i have created a tbl name supplier details and the code was
    there, supplier name and the address. so whenever i choose the code in combobox1 the assign name and address shall be populated in the combobox2 and 3. so i could minimize typing all the names and addresses.

    thanks and regards,
    myboii

  5. #5
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    This is a link to a thread that i think will help you. I had attached a small sample mdb file in this post. Download that. It is a pretty simple set up study the relationships. if you have any problem let me know.

    https://www.accessforums.net/forms/l...help-6321.html

  6. #6
    myboii is offline Novice
    Windows 2K Access 2000
    Join Date
    Jul 2010
    Posts
    3

    access db

    hi maximus,

    cant find the code. pls help me on this is my access db and form that should be working.

    for your usual assistance pls.

    thank,

  7. #7
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    I have done the need ful when you select a supplier code name and address is automatically updated.

    refer attached sample.

  8. #8
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    mark the thread solved

  9. #9
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    is your problem solved

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

Similar Threads

  1. Use a combo box to populate a text field
    By niesenj in forum Forms
    Replies: 2
    Last Post: 01-29-2010, 01:57 PM
  2. Auto-Populate Combo box
    By vincenoir in forum Forms
    Replies: 3
    Last Post: 10-14-2009, 07:06 AM
  3. Replies: 3
    Last Post: 10-05-2009, 07:22 AM
  4. auto populate and table relationships
    By jmarti57 in forum Access
    Replies: 0
    Last Post: 11-09-2008, 09:50 PM
  5. Auto populate fields on a form
    By ldarley in forum Forms
    Replies: 0
    Last Post: 08-14-2008, 09:39 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