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 |
 |
 |
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 |
 |
 |
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 |
 |
 |
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/
>
|
|
|
 |
|