Results 1 to 6 of 6
  1. #1
    arctushar@yahoo.com is offline Novice
    Windows XP Access 2010 (version 14.0)
    Join Date
    Sep 2010
    Posts
    9

    change textbox value after combo update

    Hello
    I have combo box. Its values are from a query. No I want that after updating value of combo the value of text box will change. For example

    1. I have a table named table_bill containing Item & Description field
    2. In a form name form_bill containing one combo box. Values of this combo box is items of table table_bill.


    3. Now I want that when I change the value of combo box automatically value of text filed Description will change. And the value will be corresponding description of item from table_bill
    Plz Help me

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Did you use the ComboBox wizard to help you create this cbo on the form? The wizard knows how to do what you want.

  3. #3
    arctushar@yahoo.com is offline Novice
    Windows XP Access 2010 (version 14.0)
    Join Date
    Sep 2010
    Posts
    9
    My combo box is working, but I need to put data in the text field from query based on combo box.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I don't quite understand what you need. What is the query, and what info from it do you need?

  5. #5
    arctushar@yahoo.com is offline Novice
    Windows XP Access 2010 (version 14.0)
    Join Date
    Sep 2010
    Posts
    9
    I have a table

    Item Description
    2.A 10" Brick Work
    2.B 6" brick work
    3.A 10" RCC
    3.B 5" RCC

    In a form there is a combobox named item_combo whose values are 2.A,2.B,3.A,3.C
    and a text field named description_text

    Now If I select 3.A from item_combo. I want that description_text box value/text will be 10" RCC

    Hope this will help u to understand

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Change the Bound field to 2 and see what happens. It is on the Data tab of the cbo property sheet.

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

Similar Threads

  1. Using VB to change the value in a combo box
    By Noobie in forum Programming
    Replies: 7
    Last Post: 03-18-2010, 10:07 AM
  2. Replies: 3
    Last Post: 02-10-2010, 07:29 AM
  3. Replies: 3
    Last Post: 03-28-2009, 06:06 PM
  4. change() on the textbox
    By skywalker in forum Forms
    Replies: 0
    Last Post: 03-01-2009, 01:28 AM
  5. Replies: 1
    Last Post: 08-10-2008, 01:09 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