Hello,
Does anynbody know how I can create a button that will go back to the last active display i.e. Previous Page button
I've tried using visual basic by storing the last active page in a string input(Name: PreviousPageTag). The string input is on each page and is exposed to vba control.
This is the code I've been trying to use:
Each navigation button execpt the Previous Page Button has the following vba code:
Me.PreviousPageTag.Value = Me.Name
Me.PreviousPageTag.Download
And the screen changes based on the Button Properties Action ex: Display Area1
The Previous Page Button has the following code:
ExecuteCommand "Display " & Me.PreviousPageTag.Value
Me.PreviousPageTag.Value = Me.Name
Me.PreviousPageTag.Download
For some reason it does not want to write the name of the screen to the variable PreviousPageTag. Could this be because im changing screens or i cannot use button properties and vba together.
Any help would be appreciated.
Thanks.
Does anynbody know how I can create a button that will go back to the last active display i.e. Previous Page button
I've tried using visual basic by storing the last active page in a string input(Name: PreviousPageTag). The string input is on each page and is exposed to vba control.
This is the code I've been trying to use:
Each navigation button execpt the Previous Page Button has the following vba code:
Me.PreviousPageTag.Value = Me.Name
Me.PreviousPageTag.Download
And the screen changes based on the Button Properties Action ex: Display Area1
The Previous Page Button has the following code:
ExecuteCommand "Display " & Me.PreviousPageTag.Value
Me.PreviousPageTag.Value = Me.Name
Me.PreviousPageTag.Download
For some reason it does not want to write the name of the screen to the variable PreviousPageTag. Could this be because im changing screens or i cannot use button properties and vba together.
Any help would be appreciated.
Thanks.