473,491 Members | 1,885 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

requery listbox as you type

Access 2000

I want my listbox items to change AS I type in a text box (realtime)

As I type in a last name in txtlistname I want the list box contents
to change each time I enter a letter, so as I type "J" (it show all
that start with "J", "O" and it shows all that start with "JO",
etc...)

Currently I use Like Me.txtlistname + "*" and it works when you press
enter.

How do I make it "realtime"? Which event?

TIA
Dale
Nov 13 '05 #1
2 2123
Dale,

No event! Just set the AutoExpand property to Yes.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"Dale Ring" <mt****@yadtel.net> wrote in message
news:d5**************************@posting.google.c om...
Access 2000

I want my listbox items to change AS I type in a text box (realtime)

As I type in a last name in txtlistname I want the list box contents
to change each time I enter a letter, so as I type "J" (it show all
that start with "J", "O" and it shows all that start with "JO",
etc...)

Currently I use Like Me.txtlistname + "*" and it works when you press
enter.

How do I make it "realtime"? Which event?

TIA
Dale

Nov 13 '05 #2
Sorry, maybe I was not clear in my description of the problem.

I want the listbox to change as I type in the textbox, not just the textbox.

TIA
Dale

"PC Datasheet" <no****@nospam.spam> wrote in message news:<_4*******************@newsread3.news.atl.ear thlink.net>...
Dale,

No event! Just set the AutoExpand property to Yes.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"Dale Ring" <mt****@yadtel.net> wrote in message
news:d5**************************@posting.google.c om...
Access 2000

I want my listbox items to change AS I type in a text box (realtime)

As I type in a last name in txtlistname I want the list box contents
to change each time I enter a letter, so as I type "J" (it show all
that start with "J", "O" and it shows all that start with "JO",
etc...)

Currently I use Like Me.txtlistname + "*" and it works when you press
enter.

How do I make it "realtime"? Which event?

TIA
Dale

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4064
by: David B | last post by:
I am populating an unbound text box from datepicker calender. After the date has been selected I need the sub form to requery. If I manualy put a date in the text box the after update works fine...
1
2971
by: M Wells | last post by:
Hi All, I am developing an Access 2003 project application with the back end in SQL Server 2003. I have a master form that tracks projects, and several subforms on it that track various...
1
1733
by: MDM | last post by:
I have a list box control that is bound to a query. The form is not bound to any source since I have a few list boxes from different sources. When the form opens the list box is populated...
2
1512
by: Hansen | last post by:
Hi I have a list box which I refresh by changing the .rowsource and doing a requery after adding a record to the table: QryOrderDetail = "SELECT ., ., ., ., ., .,
6
9906
by: Mark | last post by:
Hello. I have a listbox whose rowsource is set to a saved query (call it "qry_customer_list.") When I add customers to my database, I call the listbox Requery method so that the listbox will...
1
4015
by: ANDRESUK | last post by:
All I have a listbox in a form footer. When the form footer is visible the listbox requeries fine but when I turn the form footer visible=false the listbox does not requery at all. What I am...
6
7969
by: MarkoBBC | last post by:
Hi everyone, First a brief description of my form: I have a subform within a main form. In my subform, I have a listbox displaying address information by firm name. A user first has to select a...
11
1964
by: The Frog | last post by:
Hi all, Maybe I am just missing something simple here, but I seem to have an issue with a callback function in A97 that is used to fill a Listbox with values. The first time the callback...
6
6041
by: binky | last post by:
Good afternoon folks, I have a performance question if anybody might have suggestions. Functionally, everything i'm about to describe works as intended. The only problem I'm having is speed. ...
0
7118
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7192
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6862
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7364
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5452
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4579
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3087
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1397
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.