Hi,
You can do it in a very simple way without using javascript, just HTML.
Add 2 xHTML routines to your browse procedure:
1) This is the anchor - ie the location to go to
Routine Name: top
Location: Before <form>
XHTML: <div id="top"></div>
2) This is your Go to top link at the bottom of the page
Routine Name: bottom
Location: After </div>
XHTML: <a href="#top">Go to top</a>
This will insert a link with the text "Go to top" at the bottom of your page. When the link is clicked the page will scroll to the top.
You can make it nicer by creating a button instead of the link and you can do smooth scrolling etc but I'll leave this up to you to figure out. Now you've got the basic technique.
Peter