Hi Keith,

You can use a field with a set size.  Or you can trap for after Keystroke and 
use get edited Text and do  substring.


Garri


________________________________
From: 4D_Tech <4d_tech-boun...@lists.4d.com> on behalf of Keith White via 
4D_Tech <4d_tech@lists.4d.com>
Sent: Friday, May 12, 2017 5:12 PM
To: 4d_tech@lists.4d.com
Cc: Keith White
Subject: Limit input into alpha characters into variable

Hi

Is there a way to limit the number of characters you can impose on the user for 
alpha _variables_ (in a 4D form)?

I tried using an entry filter, but that changes how the data is entered (you 
can only highlight one character at a time).  Setting an entry format didn't 
seem to do it.

I'm sure someone came up with something, but I've searched all places and 
haven't found it.

4D v13.6

Many thanks.

Best regards

Keith White
Synergist Express Ltd, UK.


**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
lists.4d.com<http://lists.4d.com/faqnug.html>
lists.4d.com
Information about the 4D Tech Mailing List <4D_Tech@lists.4D.com>, 4D Biz 
Mailing List <4d_...@lists.4d.com>, and 4D Pub Mailing List 
<4d_...@lists.4d.com ...



Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
[http://lists.4d.com/images/mailman/gnu-head-tiny.jpg]<http://lists.4d.com/mailman/options/4d_tech>

4D_Tech list: member options login 
page<http://lists.4d.com/mailman/options/4d_tech>
lists.4d.com
Unsubscribe: By clicking on the Unsubscribe button, a confirmation message will 
be emailed to you. This message will have a link that you should click on to ...



Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to