T
Topcat668
I am creating a database to manage Auction Bids for a live radio station
phone auction weekend.
I have a form where the user is entering names as the bidders call in. I
want to be able to have entry into a text box cause a query to run and
populate a list box so that if a caller has been entered before, the user can
click on an existing name.
So for example, if the first keystroke is A , then the list box will be
populated with all names beginning with A. If the next keystroke is l to
give Al then the list box will be repopulated with only names beginning with
Al (e.g. Alice, Alison etc).
I can create the query and the VBA to run on a keystroke but every time the
focus returns to the text box, all the text already entered is highlighted
and the next key stroke overwrites any data already entered. Hence if the
first key is A, all A names are displayed, thent he next keystroke l shows
all names beginning with l as the A has been overwritten.
Please help!
phone auction weekend.
I have a form where the user is entering names as the bidders call in. I
want to be able to have entry into a text box cause a query to run and
populate a list box so that if a caller has been entered before, the user can
click on an existing name.
So for example, if the first keystroke is A , then the list box will be
populated with all names beginning with A. If the next keystroke is l to
give Al then the list box will be repopulated with only names beginning with
Al (e.g. Alice, Alison etc).
I can create the query and the VBA to run on a keystroke but every time the
focus returns to the text box, all the text already entered is highlighted
and the next key stroke overwrites any data already entered. Hence if the
first key is A, all A names are displayed, thent he next keystroke l shows
all names beginning with l as the A has been overwritten.
Please help!