Hyperlinks

B

billda

Is there a feature that allows me to setup a hyperlink that, by clicking on a
BACK button, will take the user back to the previous screen he/she was just
at regardless of where they navigated from or what screen they are currently
viewing? If so, how do you do that?
 
C

Chris Roth [ Visio MVP ]

You can get it to work with a little bit of code:

Visio.Application.DoCmd(1598) '...1599 for back, 1598 for forward

I was suprised to see that the ShapeSheet function DoCmd doesn't work.
Normally you could set a cell to something like this:

EventDblClick = DoCmd(1599)

Then you could double-click and it would execute the web toolbar's Back
command. But it's not working in this case.

The last idea would be to watch page changes in code, and note the last page
in a Document ShapeSheet User cell. Then all of your "Back" hyperlink cell
values could be parameterized to point to the TheDoc!User.Back page address,
instead of hard-coded addresses.


--

Hope this helps,

Chris Roth
Visio MVP
 
O

oscore

Try This
javascript:history.go(-1)

Paste this in the main hyperlink address and make sure use relative path for
hyperlink is checked
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top