?
Solved

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

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

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

777 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