By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,255 Members | 2,575 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,255 IT Pros & Developers. It's quick & easy.

MainForm to SubForm Focus

P: 12
hi i am using access 2013,

how can i set Focus to a field in Subform.

so whenever i get into subform through Mainform by pressing Enter or Tab it automatically gets to the ID or field i will select in the focus.

Hope it makes sense :/

Advance thanks for your help.
Jan 13 '14 #1

✓ answered by zmbd

set the focus to a control on the subform:
This is the most simple and sweet: Allen Browne: Referring to Controls on a Subform

Share this Question
Share on Google+
3 Replies


zmbd
Expert Mod 5K+
P: 5,397
set the focus to a control on the subform:
This is the most simple and sweet: Allen Browne: Referring to Controls on a Subform
Jan 13 '14 #2

P: 12
I am sorry but i m still stuck at it. its not working or maybe i dont know how to make it work.

I am trying to put this code "On Got Focus" option.

can you please help in couple of steps. :/

My main form is "Orders" and subform is "Order_details" the field name is "Item".

Regards
Jan 13 '14 #3

zmbd
Expert Mod 5K+
P: 5,397
please show your work
simply saying it doesn't work doesn't help us to help you

Please use the [CODE/] button to format posted script and formated text - Please read the FAQ
Jan 13 '14 #4

Post your reply

Sign in to post your reply or Sign up for a free account.