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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto-Complete on a text field using a Table

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am attempting to make a field autocomplete as the user enters information, past entries into the same field will appear. Like, Excel does for autocomplete down a column.

For instance, I have a table and it has three records and in the LastName field their are three different values:
Roberts
Robertson
Robertsen

Now, when the user begins to type the database is queries for like values.
 
When the users enters "R", Roberts is display. The user continues to press keys and gets to "Robertso" and Robertson is displayed.
 
Hello,

It may be easier to use a Combo Box rather than a text box to do what you are trying to do. Ensure that you have the autoexpand property set to yes and this should do the job.

HTH.

Steve.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top