Results 1 to 3 of 3

Thread: [RESOLVED] Listbox n TextBox

  1. #1

    Thread Starter
    Member
    Join Date
    May 2006
    Posts
    46

    Resolved [RESOLVED] Listbox n TextBox

    Hi,

    I have 2 fields, Language and Character in my table. Now i am designing a form for it. I am using a list box for all the language n a textbox for the character.

    Wat i wan to achieve is as follows :

    Whenever the user clicks on any of the language in the list box, its corresponding character will be displayed in the textbox. How can i achieve it? thks

    FT

  2. #2
    Hyperactive Member nagasrikanth's Avatar
    Join Date
    Nov 2004
    Location
    India,Hyderabad.
    Posts
    420

    Re: Listbox n TextBox

    using VB or VBA(Access)???

    if it is vba then the simple way for it is bound the list box to both the columns(you can display only one column) and then under the listbox_onclick event

    simply write the fallowing line.

    VB Code:
    1. text1.text=list1.coumn(1,list1.ListIndex)

    all the best..
    The Difference between a Successful person and others is not a Lack of Knowledge,
    But rather a Lack of WILL

  3. #3

    Thread Starter
    Member
    Join Date
    May 2006
    Posts
    46

    Re: Listbox n TextBox

    ok thks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width