textbox (text change affects listbox element select) (1 Viewer)

kamii47

New member
Local time
Today, 22:05
Joined
Jan 18, 2006
Messages
6
I am totally new to ms access form development.
I have to construct a form with a text box a command button and listbox.
listbox contains the list of items.I have populated the list box with the items in the tables.Now on the same page I have to add new item via text box and when click command button it should be added(all these thing I have done).
Problem is that I have to do some thing like
if a type any letter in the text box all listbox item are arrange like that like

If Items are abcd,aaaa,aabb, aa,abb,bba,bcd,bab
I enter ba in the textbox then itme should be arrange like

bab
bba
bcd
aaaa
aabb
abcd
 

WayneRyan

AWF VIP
Local time
Today, 19:05
Joined
Nov 19, 2002
Messages
7,122
Kam,

You can use the OnChange event of the textbox to change the RowSource
of the Listboxl.

Hth,

Wayne
 

kamii47

New member
Local time
Today, 22:05
Joined
Jan 18, 2006
Messages
6
But How

I know i have to do it on rowchange event but any body have a similar example
 

Users who are viewing this thread

Top Bottom