W WinDancer Registered User. Local time Today, 01:40 Joined Oct 29, 2004 Messages 290 Jul 8, 2008 #1 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
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
missinglinq AWF VIP Local time Today, 04:40 Joined Jun 20, 2003 Messages 6,417 Jul 8, 2008 #2 Code: Private Sub TabControlName_Change() If Me.Dirty Then Me.Dirty = False End Sub
W WinDancer Registered User. Local time Today, 01:40 Joined Oct 29, 2004 Messages 290 Jul 8, 2008 #3 On which event do I attach this code? TIA, Dave
missinglinq AWF VIP Local time Today, 04:40 Joined Jun 20, 2003 Messages 6,417 Jul 8, 2008 #4 On the Change event of the tab control! Private Sub TabControlName_Change()
W WinDancer Registered User. Local time Today, 01:40 Joined Oct 29, 2004 Messages 290 Jul 8, 2008 #5 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?
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?