Formula to browse documents from a form

Posted on 2006-06-06
Last Modified: 2013-12-18
Hi all,

hopefully this is an easy one....?

I would like to put some navigation buttons onto a form to enable users to move between documents
i.e. rather than doing this from a view. Is it possible? and how is this achieved?

Question by:shuboarder
    LVL 46

    Expert Comment

    by:Sjef Bosman
    These buttons already exist, but nobody ever bothers to read the manual:
        ENTER will move to the next document
        BACKSPACE will move to the previous document

    The document must have been opened from a view.

    See also
    LVL 21

    Author Comment


    I saw NavNext but couldn't get it to work from a button.
    Kept getting an error..

    Is this the formula that enter and backspace use?
    LVL 46

    Accepted Solution

    I just tested, I put
        @Command( [NavNext] )
    in a button on the form (not in an agent), and it works.
    LVL 21

    Author Comment

    ah yes, it does...

    I see there is also navprev.

    Is there also navigate to last/first document available?


    LVL 46

    Expert Comment

    by:Sjef Bosman
    AFAIK there isn't. You can simulate it, from LotusScript, opeing the current view, with a NotesViewNavigator then get the first (or last) document and open it with EditDocument. I cannot guarantee that NavNext or NavPrev will work after this operation... never tested it.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
    This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    This video discusses moving either the default database or any database to a new volume.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now