William Hindman
wdhindman at bellsouth.net
Thu Apr 10 08:03:19 CDT 2003
Mark ...try www.lebans.com ...he has sample code for implementing this functionality in a number of ways ...HTH :) William Hindman "All it takes for evil to prevail is for good men to do nothing." Edmund Burke ----- Original Message ----- From: "MarkH" <markH at bitgen.co.uk> To: <accessd at databaseadvisors.com> Sent: Thursday, April 10, 2003 4:47 AM Subject: [AccessD] Limit entry in unbound forms > 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 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com >