Solved

Show number of characters as you type

Posted on 2013-10-31
3
412 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 51

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 51

Expert Comment

by:Gustav Brock
ID: 39613585
Great!

/gustav
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

630 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