How to code "Go Back" for Notes client?

How can I make a form action (Notes Client only, not web) that performs the exact same function as the Go Back toolbar icon (Alt+Left Arrow)?

I tried:

history.go(-1)

@Command([NavPrev])

@Command([GoUpLevel])

@Command([NavigatePrev])

@URLHistory([PREV])

Sendkeys “%{LEFT}”, True

I’m stumped. Thanks in advance!

Subject: How to code “Go Back” for Notes client? - Use this KeySender class

I’ve just posted on a similar topic a Class that simulates SendKeys.

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/ef55fd71917a0126852572aa004adf98?OpenDocument

Add the Script Library, write a two-line LotusScript Agent that Sends “{LEFT}”, and run that agent from your form action.

Subject: How to code “Go Back” for Notes client?

FYI, for my purposes, I was able to get close enough by using@Command([OpnView]);

If you don’t specify a view name, it will go to the most recently opened view fo that client.