Tab Indexing Within a Main Form and Subform

V

Vylent Fyre

Hi all!

I went through a lot of the messages and tried all the suggestions and still
could not get the ending results I'm trying to find. It is so simple; I am
sure I'm bound to be made to feel like an idiot once someone tells me how to
correct it :)

I have a main form "frm_Divisional New One Off JE's" that has a SubForm
named "sfrm_One Off JE's". The problem is when you open the frm_Divisional
New One Off JE's, it goes straight to the subform tab index order, not the
main form index order, which is what I'd prefer it did (I want it to start at
the 0 Index in the Main Form, not the Sub Form.)

Any ideas? :)

Thank you all for all your wonderful suggestions, tidbits, and excellent
programming capabilities - If it weren't for this forum I would not be where
I am today!

Have a Wonderful Weekend everyone and hope to hear from you guys! :)
 
G

Graham Mandeno

Hi Vylent

What is the TabIndex of the subform control on the main form? Is it 0? If
so then I would expect the focus to go directly to the subform.

Otherwise, is there any code that executes as the form is loading that would
set the focus to the subform?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top