Solved

Show number of characters as you type

Posted on 2013-10-31
3
405 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 50

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 50

Expert Comment

by:Gustav Brock
ID: 39613585
Great!

/gustav
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
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…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

739 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