Is there a way to have a button at the end of the first tab which will take the user to the next tab on clicking it?
Is the method different for a tabbed form and the tabs on a navigation form?
Is there a way to have a button at the end of the first tab which will take the user to the next tab on clicking it?
Is the method different for a tabbed form and the tabs on a navigation form?
You don't need a button,....the tabs are 'buttons'.
you can use hot keys...in the tab caption, put an ampersand before the letter to become a hot key.
I know that one can click on the tab to switch.
But, it will be easier for an unaccustomed user to have a button at the end of the first tab to take him to the next tab instead of scrolling up and clicking the tab. Moreover, the button will act as a reminder that the form is incomplete.
Yes, that's exactly what I want! But it is not working for me!
When I place the button, the command button wizard appears, I select Record navigation & Find next as stated. But when I try to use the button, I get this error message: You didn't specify search criteria with a FindRecord action.
Here is the solution for this:
Previous button:
Code:If Me.TabCtl0.Value = 0 Then Me.TabCtl0.Value = 8 Else Me.TabCtl0.Value = Me.TabCtl0.Value - 1 End If
Next button:
I had 9 pages, hence I have used the number 8 (denotes 9th page) and number 0 (denotes 1st page) in the above code.Code:If Me.TabCtl0.Value = 8 Then Me.TabCtl0.Value = 0 Else Me.TabCtl0.Value = Me.TabCtl0.Value + 1 End If
Remember, your pages are numbered 0,1,2,3,... by access even if they are labelled as Page 1,2,3,4,...
All credit goes to the guys who helped me out here.
Last edited by Bradex; 03-17-2016 at 10:08 PM.
Here is the solution for this (It works on a tabbed form):
Previous button:
Code:If Me.TabCtl0.Value = 0 Then Me.TabCtl0.Value = 8 Else Me.TabCtl0.Value = Me.TabCtl0.Value - 1 End If
Next button:
I had 9 pages, hence I have used the number 8 (denotes 9th page) and number 0 (denotes 1st page) in the above code.Code:If Me.TabCtl0.Value = 8 Then Me.TabCtl0.Value = 0 Else Me.TabCtl0.Value = Me.TabCtl0.Value + 1 End If
Remember, your pages are numbered 0,1,2,3,... by access even if they are labelled as Page 1,2,3,4,...
All credit goes to the guys who helped me out here.