Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Access
3rdpartyusrgrp
access
activexcontrol
adp.sqlserver
commandbarsui
conversion
dataaccess.pages
developers.toolkitode
devtoolkits
externaldata
forms
formscoding
gettingstarted
internet
interopoledde
macros
modulescoding
modulesdaovba
modulesdaovba.ado
multiuser
odbcclientsvr
queries
replication
reports
security
setupconfig
tablesdbdesign
  
 
date: Thu, 4 Sep 2008 08:37:38 -0700,    group: microsoft.public.access.forms        back       


How to make cursor jump to next field after data entry   
I want to create fields on a form which automatically go to the next field 
when the first field is filled without having to press tab or enter. I 
specifically want a series of single-digit fields that go to the next field 
as soon as a digit is entered. I can't figure out how to do that. Any 
suggestions?
date: Thu, 4 Sep 2008 08:37:38 -0700   author:   Frank

Re: How to make cursor jump to next field after data entry   
On Sep 4, 8:37 am, Frank  wrote:
> I want to create fields on a form which automatically go to the next field
> when the first field is filled without having to press tab or enter. I
> specifically want a series of single-digit fields that go to the next field
> as soon as a digit is entered. I can't figure out how to do that. Any
> suggestions?

May not be the most elegant solution but it should work.

Capture the on change event for each field.  If the field is not equal
to null or "", then use the .setfocus command on the field you want it
to jump to.  Havn't tested it out but that should work.
date: Thu, 4 Sep 2008 08:51:01 -0700 (PDT)   author:   unknown

Re: How to make cursor jump to next field after data entry   
"Frank"  wrote in message 
news:5B65537C-923D-42B1-9174-620A6A445D48@microsoft.com...
>I want to create fields on a form which automatically go to the next field
> when the first field is filled without having to press tab or enter. I
> specifically want a series of single-digit fields that go to the next 
> field
> as soon as a digit is entered. I can't figure out how to do that. Any
> suggestions?


If yuo set an input mask for each text box, and use a mask that accepts a 
single character (or a single numeric digit, if they're really supposed to 
be digits), and set their AutoTab properties (on the Other tab of the 
property sheet) to Yes, then you'll get this behavior with no code at all.

-- 
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)
date: Thu, 4 Sep 2008 12:41:52 -0400   author:   Dirk Goldgar lid

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us