• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 201
  • Last Modified:

How to detect change of tab control page

Access 2003

I have a two-page tab control with subforms on each page. I need to run code when the user selects a tab page. The tab page On Click event fires when the body of the tab page is clicked, but I can't get it to fire when the tab name is clicked. I've also tested this with a blank tab control on a blank form, with the same result. So how do I run code at the point the user selects the page?
0
SteveCond
Asked:
SteveCond
  • 4
  • 3
1 Solution
 
rockiroadsCommented:
just to confirm, is this form developed using visual studio or msaccess?
0
 
SteveCondAuthor Commented:
Beg pardon - brain not in gear yet after the Bank Holiday! I meant to put it just in the msaccess area. I also accidentally gave it 500 points - but I'll let it go at that (Happy Easter.....)
0
 
rockiroadsCommented:
Trust you had a good Easter, nice long weekend :)

Try using the On change method instead
0
Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

 
SteveCondAuthor Commented:
Wonderful time thanks - but too much booze! Yourself?

On change works a treat. Thanks!
0
 
rockiroadsCommented:
Booze just the last two days unfortunately, Ive had this damn cough I couldnt get rid of so ruined it a bit, otherwise was good. And of course good footy at the weekend.

Glad you got it going
0
 
SteveCondAuthor Commented:
Shame about the cough!
0
 
rockiroadsCommented:
thanks buddy, good luck with the rest of your project
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now