Solved

Continuous forms - checkbox in last column - if ticked get focus to go to next line

Posted on 2014-01-20
2
447 Views
Last Modified: 2014-01-20
Hi,

I have a Continuous form with the last column as a checkbox - when you click on it it updates the checkbox and I can get code to do things on the line but the focus remains on the checkbox.

I would like it so that when the checkbox is ticked it moves the focus the same as if you clicked the tab key. In this case as checkbox last column and last tab order it would move focus to next line ready to enter data in first field in next line.

Appreciate any help.
0
Comment
Question by:donhannam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 37

Accepted Solution

by:
PatHartman earned 500 total points
ID: 39795275
In the AfterUpdate event of the checkbox, use the SendKeys statement to send a tab.

SendKeys "{TAB}"

Look up SendKeys in Help to see how to send other characters.
0
 

Author Closing Comment

by:donhannam
ID: 39795294
Great thanks - works perfectly
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question