Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: tabindexes and a subform


Message #1 by "Sanna Korpela" <sanna.m.korpela@l...> on Mon, 20 Aug 2001 12:05:19
I have a form and it's subform and I have set the tabindex from 0 to 4 for 

inputfields of the mainform, tabindex 5 for the subform and tabindexes 

from 6 to 9 for the button in the mainform. In the subform I have 

tabindexes from 0 to 2 for the inputfields there. 



The problem is that when I move to the subform, I can't get back to 

mainform using tab, enter or arrows.



Well this is not very serious problem but I would preciate if someone told 

me an idea, what could be wrong.



Thanks,

Sanna
Message #2 by "Padgett Rowell" <padgett@i...> on Mon, 20 Aug 2001 19:42:34 +0800
Hmmm have you tried putting a macro or a piece of code to move the focus

to the first control on your main form on the OnLostFocus() event on the

last control on your subform?  



-----Original Message-----

From: Sanna Korpela [mailto:sanna.m.korpela@l...] 

Sent: Monday, 20 August 2001 12:05 PM

To: Access

Subject: [access] tabindexes and a subform



I have a form and it's subform and I have set the tabindex from 0 to 4

for 

inputfields of the mainform, tabindex 5 for the subform and tabindexes 

from 6 to 9 for the button in the mainform. In the subform I have 

tabindexes from 0 to 2 for the inputfields there. 



The problem is that when I move to the subform, I can't get back to 

mainform using tab, enter or arrows.



Well this is not very serious problem but I would preciate if someone

told 

me an idea, what could be wrong.



Thanks,

Sanna

Message #3 by skorpel1@l... on Mon, 20 Aug 2001 15:47:58 +0300 (EEST)
Hi Padgett!



Well now I have tried that and it worked! Great!

Thank you!

Sanna



Lainaus Padgett Rowell <padgett@i...>:



> Hmmm have you tried putting a macro or a piece of code to move the

> focus

> to the first control on your main form on the OnLostFocus() event on

> the

> last control on your subform?  

> 



%%%%%%%%%%%%%%%%%%%%%%

Sanna Korpela

sanna.m.korpela@l...


  Return to Index