[AccessD] FW: Trick Needed

Rocky Smolin at Beach Access Software rockysmolin at bchacc.com
Mon Jun 9 12:11:30 CDT 2008


 Oops.  Meant that to reply to Gustav.  And, having looked a bit closer,
adding the .Text property solves it!  Thank you Gustav.

Regards,




Rocky Smolin
Beach Access Software
858-259-4334
www.e-z-mrp.com
www.bchacc.com
 
 

-----Original Message-----
From: Rocky Smolin at Beach Access Software [mailto:rockysmolin at bchacc.com] 
Sent: Monday, June 09, 2008 10:09 AM
To: 'Access Developers discussion and problem solving'
Subject: RE: [AccessD] Trick Needed

That was my first thought, too.  But it doesn't show the current length of
the data in the text box correctly.  It just show the length of whatever was
there when the box got the focus.


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 jwcolby
Sent: Monday, June 09, 2008 10:01 AM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] Trick Needed

text1.keyup should be the event (after the key has been deposited.

In that event look for the length of text1.

I have not tested this though.

John W. Colby
www.ColbyConsulting.com


Rocky Smolin at Beach Access Software wrote:
> 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
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




More information about the AccessD mailing list