To jump to next TabCtl

A

an

Hi!

I have a form with TabCtl2 with Pages:
[TabCtl2].Pages(0)
[TabCtl2].Pages(1)
....

I would like when Enter or Afterupdate last field on [TabCtl2].Pages(0) jump
to 1st field on [TabCtl2].Pages(1).

Thanks in advance.
an
 
K

Klatuu

Enter and After Update are pretty much at opposite ends of the event spectrum
for a control. What would be the best would be to use the Lost Focus event
and st the focus to the control on the other tab.
 
A

an

Ok, K.

My problem is the sintax.
an

Klatuu said:
Enter and After Update are pretty much at opposite ends of the event spectrum
for a control. What would be the best would be to use the Lost Focus event
and st the focus to the control on the other tab.
--
Dave Hargis, Microsoft Access MVP


an said:
Hi!

I have a form with TabCtl2 with Pages:
[TabCtl2].Pages(0)
[TabCtl2].Pages(1)
...

I would like when Enter or Afterupdate last field on [TabCtl2].Pages(0) jump
to 1st field on [TabCtl2].Pages(1).

Thanks in advance.
an
 
K

Klatuu

Me.ControlName.SetFocus
--
Dave Hargis, Microsoft Access MVP


an said:
Ok, K.

My problem is the sintax.
an

Klatuu said:
Enter and After Update are pretty much at opposite ends of the event spectrum
for a control. What would be the best would be to use the Lost Focus event
and st the focus to the control on the other tab.
--
Dave Hargis, Microsoft Access MVP


an said:
Hi!

I have a form with TabCtl2 with Pages:
[TabCtl2].Pages(0)
[TabCtl2].Pages(1)
...

I would like when Enter or Afterupdate last field on [TabCtl2].Pages(0) jump
to 1st field on [TabCtl2].Pages(1).

Thanks in advance.
an
 
A

an

Oh! Ok.

Thank you very much for your help.
an

Klatuu said:
Me.ControlName.SetFocus
--
Dave Hargis, Microsoft Access MVP


an said:
Ok, K.

My problem is the sintax.
an

Klatuu said:
Enter and After Update are pretty much at opposite ends of the event spectrum
for a control. What would be the best would be to use the Lost Focus event
and st the focus to the control on the other tab.
--
Dave Hargis, Microsoft Access MVP


:

Hi!

I have a form with TabCtl2 with Pages:
[TabCtl2].Pages(0)
[TabCtl2].Pages(1)
...

I would like when Enter or Afterupdate last field on [TabCtl2].Pages(0) jump
to 1st field on [TabCtl2].Pages(1).

Thanks in advance.
an
 
Top