MarkH
markH at bitgen.co.uk
Thu Apr 10 03:47:24 CDT 2003
Hello all... I am working with class modules and unbound forms in XP. What I need to do is limit the length of text a user can enter. I would like to do this as they type so that its not possible to add text beyond whats allowed. No warning necessary, just stop at the limit. I intend to store the max length allowed as properties in the class so that the frontend can retrive them without having to hard code them. I did have a function that could do this but I am away from the office for a few days so don't have it with me :o( (and I didn't write it in the first place so have no memory of how it was done) Any help greatly appreciated... Also, if theres a better way to do it I'd very much like to hear that too. Cheers Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003