Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / March 2007

Tip: Looking for answers? Try searching our database.

Capturing keystrokes in textbox

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mscertified - 15 Mar 2007 00:49 GMT
Is there any way I can capture the value being entered into a text box
character by character as it is entered? The solution needs to take into
account backspacing, the home key, the delete key etc. I'd rather not try to
do this via Keypress event. I tried the On Change event but the value was
always Null.

The reason I want to do this is to implement a listbox that auto scans a
three-level keyword table and shows the matches as each character is typed. A
combo box cannot do this.
Damian S - 15 Mar 2007 02:22 GMT
Hi,

Use the on change event, but you need to explicitly refer to the text
property, otherwise it will return null.

eg:  me.TEXTBOXNAME.text

Damian.

> Is there any way I can capture the value being entered into a text box
> character by character as it is entered? The solution needs to take into
[quoted text clipped - 5 lines]
> three-level keyword table and shows the matches as each character is typed. A
> combo box cannot do this.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.