Move from one page to another on a tab control

E

Ernie

I've just tried samples from about 6 different posts and have been
unable to solve this. Quite simply (and I know it must be), I have a
tab control (Name=TabCtl36) with 6 pages on it. On Page 2 (Page Index
1) I have a field STOCK. When someone enters text in the STOCK
field, I want the After Update event of the STOCK field to set the
focus to the DESCRIPTION field on Page 3 (Page Index 2).

Can someone help me with the syntax (please be exact using field/tab
names above). Thanks.
 
P

Peter Hibbs

Ernie

Try

Private Sub STOCK_AfterUpdate()
Me!DESCRIPTION.SetFocus
End Sub

HTH

Peter Hibbs
 
M

missinglinq via AccessMonster.com

As Peter has intimated, controls on Tabbed Pages are, in fact, simply
controls on the same single form, which is to say that you reference them as
if they were on a single "screen." There is no need to refer to the Tabbed
Page's name or index.
 
Top