Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Temp string in text box?

Status
Not open for further replies.

Felgar

Programmer
May 17, 2001
17
CA
I am attempting to write an autofill routine to make a best guess from a list of values that are stored in a table. (much like netscape will do for urls when you type them in the location bar).

I'm stumped because I don't know how to reference the data that is being typed in while they are still typing. I was going to make an OnKeyPress event to check each new letter as it is entered, and then generate a new list of items that match my first few letters. Unfortunately, the TextBox.Value item does not get updated until the change is recorded by Access when I move away from the field.

I need to check the value in the box as it is being typed. Any suggestions?
 
Felgar:

You can do what you want a lot easier using a combo box.

Make sure to set the Auto Expand property to Yes.

HTH
Larry De Laruelle
larry1de@yahoo.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top