Solved

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

Posted on 2013-10-24
2
403 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 119

Accepted Solution

by:
Rey Obrero 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

914 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now