Checkbox controling navi tab (1 Viewer)

rspen4

New member
Local time
Today, 10:05
Joined
Oct 10, 2014
Messages
1
I am trying to figure out how to control a navigation tab with a checkbox. I have a database for my fire dept and the check box is called "deceased". When a member passes away, the active box gets unchecked and deceased gets checked. Under the member subform, there is a tab, navigationbutton19, that is called deceased also and under this tab all their burial information is stored. What I am trying to do is, if the checkbox is not checked, I want the tab to be enabled = false. any help would be greatly appreciated!
 

TJPoorman

Registered User.
Local time
Today, 08:05
Joined
Jul 23, 2013
Messages
402
Put this in the AfterUpdate() event of your checkbox:

Code:
Me.subform.Form!navigationbutton19.Enabled = Me.DeceasedCheckbox

You will need to change the name of your subform and checkbox
 

Users who are viewing this thread

Top Bottom