Solved

Show number of characters as you type

Posted on 2013-10-31
3
366 Views
Last Modified: 2013-10-31
Dear experts -
I am trying to display the number of characters in a field AS YOU TYPE. I put a calculated field on the form showing length of the field - I tried adding the 'text' and 'value' keywords, and put a 'requery' on that control on the change event of the control with the text i'm trying to show the length of.
(I saw online that focus needs to be on the main control in order to use the 'text' keyword; but i thought 'value' might work)
Any ideas?
Thanks!
0
Comment
Question by:terpsichore
  • 2
3 Comments
 
LVL 49

Accepted Solution

by:
Gustav Brock earned 500 total points
ID: 39613540
Use the OnChange event. Then

Me!txtTextLength.Value = Len(Me!txtInput.Text)

/gustav
0
 

Author Closing Comment

by:terpsichore
ID: 39613543
this works; i found i can also, in the change event of the main control, simply change the control source of the control displaying the current length
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 39613585
Great!

/gustav
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

757 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