Save with page tab change?

WinDancer

Registered User.
Local time
Today, 01:40
Joined
Oct 29, 2004
Messages
290
I have a form with 4 tabs. I want to save every time a user changes pages. Not sure how to code that?
TIA,
Dave
 
Code:
Private Sub TabControlName_Change()
  If Me.Dirty Then Me.Dirty = False
End Sub
 
On which event do I attach this code?
TIA,
Dave
 
On the Change event of the tab control!

Private Sub TabControlName_Change()
 
My tab controls are named page1 through page 4. There is also a notation on each tab that just says tabctl0 for all tabs.
When I go to properties for those names there is no change event. Just mouse events for all?
 

Users who are viewing this thread

Back
Top Bottom