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

tab control page jumping

P: n/a
I am struggling with a form issue, and I thought I would see if anyone
might be able to take a look.

the zipped up db is at my geocities site:

http://www.geocities.com/misscrf/pagejumping.zip
If you add a candidate, and then give them some addresses and phones,
its all good. You can tab through nicely. But if you at some points (
I can't seem to find consistency) go back to the phone form to scroll
it's records, the tab control jumps and you end up on the applications
page.

I don't know if this is from the onexit codes, but it shouldn't be
because this happens irregardless of whether I am in a field that has
the onexit code. If anyone can take a look and see if you can help me
to fix this, it would be a real help.

thanks.

Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"misscrf" <mi*****@yahoo.com> wrote
I am struggling with a form issue, and I thought I would see if anyone
might be able to take a look.

the zipped up db is at my geocities site:

http://www.geocities.com/misscrf/pagejumping.zip
If you add a candidate, and then give them some addresses and phones,
its all good. You can tab through nicely. But if you at some points (
I can't seem to find consistency) go back to the phone form to scroll
it's records, the tab control jumps and you end up on the applications
page.


The code below causes the focus to be moved from the phone subform to the
application subform.

Private Sub txtPhoneNumber_Exit(Cancel As Integer)
....
Forms![frmCandidateEntry]![subApplicationEntry].SetFocus
Forms![frmCandidateEntry]![subApplicationEntry].Form![cmbJobID].SetFocus
....
End Sub
Darryl Kerkeslager
Nov 13 '05 #2

P: n/a
I found the answer. I took that code and put it in the on enter of a
text box that is behind the seen text box. It is in the last tab order,
so that it is tabbed to, but the user doesn't see it. By tabbing to it,
then they are taken through to the next form. that way if they click
around they can.
Thanks for replying.

misscrf

It is never too late to become what you could have been ~ George Eliot

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.