Get the URL for the Current Page (Formula)

I want to be able to capture either the entire URL for the current page, or capture just the page arguments (navigation selections). I have not found the correct @Formula command in Help and hope someone on the form can help me.

I have a Page open in a database and want the user to be able to switch to a new page with the same tabbed table structure, so I want to retain the tab navigation. For example, If the page below is displayed, I want to have a link on the page that allows the user to switch to PageTwo. If I can find a command that will give me either the current page URL, or the current arguments on the page, I can construct a URL to direct the user to the other Page and to the same navigation structure on the page (same tab).

http://Server.Domain.com/Folder/File.nsf/PageOne?OpenPage&ExpandView&TableRow=2.1.3#2.1.

Thanks in advance for any help you can give.

Subject: @URLQueryString not quite right

When I use this, I get everything before the # (2.1.3), but not the portion after the #. However, it appears I don’t need the part after the #, which must be a page bookmark to the top of the tab.

I think this is all I need. If you know anything that I might run into as a road block. At this point, I think I just need to concatenate the server/database/page name/tablerow and the number from the formula result.

@UrlQueryString(“TableRow”)

Subject: RE: @URLQueryString not quite right

The # part is a partial – it tells the browser which named anchor to scroll to after the page loads. The server doesn’t know or care what that value is, nor is it necessarily sent to the server.