Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Access form help.

Discussion in 'Information Technology' started by Access learner., Oct 27, 2005.

Tags:
  1. Access learner.

    Access learner.
    Expand Collapse
    Guest

    hi,

    i am new user to Access and trying to develop the form. I have 1 table with
    Code and Description. I have bound the drop down box to code column and would
    like to display the description for the code selected. Can you please help me
    how I can display this.

    Thanks in advance.
    Access user.
     
  2. Loading...


  3. Ofer

    Ofer
    Expand Collapse
    Guest

    The row source of the combo should include both fields
    Select Code, Description From TableName

    Now, you have to options to display the Description in another Text box
    1. In the control source of the second text box you can write
    = [ComboName].Column(1)

    2. On the after update event of the combo you can write the code
    Me.[TextBoxName] = Me.[ComboName].Column(1)
    --
    If I answered your question, please mark it as an answer. That way, it will
    stay saved for a longer time, so other can benifit from it.

    Good luck



    "Access learner." wrote:

    > hi,
    >
    > i am new user to Access and trying to develop the form. I have 1 table with
    > Code and Description. I have bound the drop down box to code column and would
    > like to display the description for the code selected. Can you please help me
    > how I can display this.
    >
    > Thanks in advance.
    > Access user.
     

Share This Page