CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 How do I limit characters in a Memo-Text Area

Print topic Send  topic

Author Message
garycrunk

Posts: 23
Posted: 01/22/2007, 9:12 AM

I need to set up a memo field in an Access database but within the form that the user is entering text, how do I limit them to oh... lets say 1000 words? I know I can set up a Text Box and limit that via the database to 250ish characters, but I do not know how to set up a memo field, yet limit them to about 1000 words (not characters).

Any ideas?
Please let me know.

Thank you

_________________
Gary Crunk
Job Examiner
View profile  Send private message
matheus

Posts: 386
Posted: 01/22/2007, 9:15 AM

In Codecharge, without Custom Code, only limit by characters.

On Validade from Textarea. Action: Validate Maximum Length.

_________________
Matheus Trevizan

Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br
View profile  Send private message
peterr


Posts: 5971
Posted: 01/22/2007, 1:20 PM

Gary,

I'm sure you can find various solutions on Google: http://www.google.com/search?hl=en&lr=&safe=off&q=javas...+words+textarea
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
wkempees
Posted: 01/23/2007, 2:31 AM

Gary,
Take both answers in to account, and with that:
count the number of spaces!
1000 words = 1001 spaces
If you find more thatn say 1000 spaces, display and limit entry.
Just a quick brainer

Walter

"garycrunk" <garycrunk@forum.codecharge> schreef in bericht
news:645b4f07856c4d@news.codecharge.com...
>I need to set up a memo field in an Access database but within the form
>that the
> user is entering text, how do I limit them to oh... lets say 1000 words?
> I know
> I can set up a Text Box and limit that via the database to 250ish
> characters,
> but I do not know how to set up a memo field, yet limit them to about 1000
> words (not characters).
>
> Any ideas?
> Please let me know.
>
> Thank you
>
> _________________
> Gary Crunk
> Job Examiner
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.