Hello,
I am using Access 2013.
I have Navigation Tabs when I click on a button in the form below the Tab I want to move to another Navigation tab.
I have been able to successfully Set focus from the command button in the form to the Tab I want, but I cannot get it to make that tab/page the one that is displayed.
I am using Access 2013.
I have Navigation Tabs when I click on a button in the form below the Tab I want to move to another Navigation tab.
I have been able to successfully Set focus from the command button in the form to the Tab I want, but I cannot get it to make that tab/page the one that is displayed.
Code:
//navViewOrder is the tabs name I want to go to. //NavigationControlSales is the the tab control name of which NavViewOrder is the 3rd tab. Private Sub cmdSaveNext_Click() Me.Parent.navViewOrder.Setfocus = True //This works Me.Parent.NavigationControlSales = 2 // I get Error 440 You can't assign a value to this object. End Sub
Comment