Rocky Smolin at Beach Access Software
rockysmolin at bchacc.com
Tue Jun 10 00:03:04 CDT 2008
Greg: Turned out it was the .Text property on the text box that was needed. Test2=len(Test1.Text) Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Worthey Sent: Monday, June 09, 2008 9:12 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] AccessD Digest, Vol 64, Issue 14 Rocky, Use the change event: Sub Text1_Change() Text2=len(Text1) End sub Greg Worthey Worthey Solutions Message: 5 Date: Mon, 9 Jun 2008 09:53:27 -0700 From: "Rocky Smolin at Beach Access Software" <rockysmolin at bchacc.com> Subject: [AccessD] Trick Needed To: "'Access Developers discussion and problem solving'" <accessd at databaseadvisors.com> Message-ID: <005d01c8ca51$572c6c70$0301a8c0 at HAL9005> Content-Type: text/plain; charset="us-ascii" Dear List: There are two text boxes on a form. As the user keys info into text box 1, that is, after every key stroke, I would like the length of the data in text box 1 to appear in text box 2. But I can't find an event that 'knows' what the current length is in text box 1 until it loses and regains focus. Is there a slick way to get this number? MTIA Rocky ------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd End of AccessD Digest, Vol 64, Issue 14 *************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG. Version: 8.0.100 / Virus Database: 270.1.0/1492 - Release Date: 9/6/2008 10:29