you can set a (rather simplistic) length limit to a variable by code. OBJECT SET FILTER(*;"__object_name_here";"! &@"+("#"*$maxlen))
http://doc.4d.com/4Dv15/4D/15.4/OBJECT-SET-FILTER.301-3273846.en.html http://doc.4d.com/4Dv15/4D/15.4/Filter-and-format-codes.300-3285353.en.html but I still don't understand how knowing the variable type would help. you would have gotten "text" whether the definition on the Oracle side was 255, 4000. > 2017/09/11 16:13、Piotr Chabot Stadhouders <p.stadhoud...@timeff.com> のメール: > When I know the "subtype", I can then handle typing in the "On before > keystroke" > Off course setting a max length field as property for an object would be the > ideal world. ********************************************************************** 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 **********************************************************************