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

Form Field with Predictive Text

Status
Not open for further replies.

okiiyama

IS-IT--Management
Jan 3, 2003
269
US
I would like to have a field that uses some sort of "Predictive Text." And the predictive text that is being displayed while the user is typing in the field is a column in a table.

Is there an easy way to do this?

THanks.
 
Could you be a little more specific about what it is that you need to accomplish?

--
Mike
 
Yeah.
Ive got a search form that will search for a Purchase Order record. One field to search by is PONumber. What I would like to have is that after each digit is typed into the form field a query is performed and will predict and auto-complete the field.

If X is typed, it would look for all PONumber = X*, then it would show the first PONumber returned from that query in the PONum search field. Then Y is typed so now the query would be PONumber = XY* and the first PONumber returned from the query will display in the field...This process will be repeated for all the 6 digits typed.

If this isn't very feasible then maybe I would like a read-only field that is a listbox that after each digit is pressed in the PONum search field, it would display the PONumbers starting with that substring.

Is this clear?

Thanks for helping.
 
The only suggestion I would have is to try using a combobox which bound to your Po#s datasource. The combo box has an auto-complete feature, which isn't as robust as you've desribed here, it'll only show you one option at a time, not all options.

--
Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top