T
teddysnips
I have an unbound text box called txtArea and I want to have a visual
clue on my form of how many characters are in the text box as I type
or delete them. I have put a label on the form called lblNumChar and
I've tried adding this
Me.lblNumChar.Caption = Len(Me.txtArea)
to various events but it doesn't seem to refresh in real time - i.e.
as I type.
The events I've tried adding it to are:
Form_Current
txtArea_AfterUpdate
txtArea_BeforeUpdate
txtArea_OnChange
txtArea_KeyPress
txtArea_KeyUp
Anyone any ideas of how to achieve this?
Thanks
Edward
clue on my form of how many characters are in the text box as I type
or delete them. I have put a label on the form called lblNumChar and
I've tried adding this
Me.lblNumChar.Caption = Len(Me.txtArea)
to various events but it doesn't seem to refresh in real time - i.e.
as I type.
The events I've tried adding it to are:
Form_Current
txtArea_AfterUpdate
txtArea_BeforeUpdate
txtArea_OnChange
txtArea_KeyPress
txtArea_KeyUp
Anyone any ideas of how to achieve this?
Thanks
Edward