Syntax

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi!

I would like to know what syntax in AfterUpdate to jump of the:

TabCtl(2).Page(0).LastField to first field in
TabCtl(2).Page(1).1stField.SetFocus

Thanks in advance.
an
 
All controls on a TabControl are members of the main form's Control
collection.

assuming TabCtl2 is the name of the tab control:
Me.TabCtl2 = 1 'Changes the active tab to the tab having 1 as it's
PageIndex value
Me.1stField.SetFocus


HTH,
 
Thanks for reply.

The name of my TabCtl is TabCtl2 but return:
"Method or data member not found"

an
 
GN,

Now, after Compact and Repair, return:
"...can´t find the field 'TabCtl2'..."

In adition: Access 2007

Thanks.
an
 

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

Similar Threads

Go to Page 1 2
How to change form.control.name 1
MS Access linking subforms 0
Detail Section 2
"Cannot open any more databases" 10
Help with Form code 6
Subform Help Needed 4
Data not showing up in Subform 4

Back
Top