Greg Worthey
greg at worthey.com
Mon Jun 9 23:12:21 CDT 2008
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 ***************************************