PDA

Click to See Complete Forum and Search --> : [RESOLVED] Listbox n TextBox


fulltime
Jun 12th, 2006, 09:55 PM
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

nagasrikanth
Jun 13th, 2006, 02:25 AM
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.

text1.text=list1.coumn(1,list1.ListIndex)

all the best..

fulltime
Jun 13th, 2006, 03:49 AM
ok thks :)