Solved

Textbox .... event trigger / capture preliminary data before textbox info has been commited

Posted on 2013-10-24
2
406 Views
Last Modified: 2013-10-25
Hi.

I am using Office 365  Microsoft Access (continuous form)

I have a textbox in the header section situated exactly above the related Access data field.

When that textbox has focus...............  When a user presses a key,   then I would like to detect this in some way.  My code needs to know what that textbox looks like at that moment so that I can do dynamic filtering on the related field.

My question.  How do I capture the current state of that textbox when the user has made a change to the textbox whilst still in the "edit mode".
0
Comment
Question by:peispud
2 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 39599257
try using the Change event of the textbox

private sub text0_change()
dim str as string
str = str & me.text0.text

msgbox str  ' to see the content of the textbox text0

end sub
0
 

Author Closing Comment

by:peispud
ID: 39600191
Perfect!   Thank you.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question