Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2014-01-20
2
Medium Priority
?
450 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 39

Accepted Solution

by:
PatHartman earned 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
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…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

618 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