A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Count Characters in a field



 
 
Thread Tools Display Modes
  #1  
Old August 13th, 2004, 10:44 PM
Donna I-don't-know-VBA-fully-yet
external usenet poster
 
Posts: n/a
Default Count Characters in a field

I want to count all the characters (including spaces)
contained within a particular field on my form. Don't
want to limit the text box size (actually it's set to
memo), just count what's in there. I thought referencing
MSO's library (that's all I know about that) would make
the statistics/number of characters function from Word
available, but it looks like all I can do is write tons of
code to export my text to a word document, count it, save
that variable, and put it back into my database. Is this
really the only way, or will that even work? Seems like
this should be an easy thing to calculate. Have to have
the memo field set because the text is often larger than
1500 characters. Thank you!
  #2  
Old August 13th, 2004, 10:52 PM
Alphonse Giambrone
external usenet poster
 
Posts: n/a
Default Count Characters in a field

Have you tried Len(Me!yourtextbox)?

--

Alphonse Giambrone
Email: a-giam at customdatasolutions dot us


"Donna I-don't-know-VBA-fully-yet"
wrote in message ...
I want to count all the characters (including spaces)
contained within a particular field on my form. Don't
want to limit the text box size (actually it's set to
memo), just count what's in there. I thought referencing
MSO's library (that's all I know about that) would make
the statistics/number of characters function from Word
available, but it looks like all I can do is write tons of
code to export my text to a word document, count it, save
that variable, and put it back into my database. Is this
really the only way, or will that even work? Seems like
this should be an easy thing to calculate. Have to have
the memo field set because the text is often larger than
1500 characters. Thank you!



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug? - Group By turning field property from Memo to Text Callaway Running & Setting Up Queries 3 June 28th, 2004 04:37 AM
"Count" specific field Deepak Worksheet Functions 5 June 17th, 2004 10:21 PM
Removing leading characters from word field Peter Wilde Mailmerge 2 May 4th, 2004 12:01 PM
Increment count on text field Anders S Worksheet Functions 12 April 14th, 2004 06:47 PM
Count certain characters Jason Worksheet Functions 4 October 26th, 2003 11:36 PM


All times are GMT +1. The time now is 08:54 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.