Predictable text in access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to set up microsoft access to use the predictable text feature
in a database or form?
 
A very simple way to do this is to use a combo box.
The combo will autocomplete the text if its AutoExpand property is on (the
default.)

If you want to use a text box, use its Change event to examine the Text
property.
Remember the SelStart in a variable.
DLookup() the nearest match.
Assign the value.
Set the SelStart to where it was, and the SelLength to the remainder (so the
user can keep typing to overwrite the remainder.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top