In a Lotus Notes view, the 'ViewNextPage' button should be disabled when the end of document is reached

Posted on 2004-11-09
Last Modified: 2013-11-16
I'm new to Lotus Notes(R5) programming. I've some views which displays a list of documents. For the 'Next' and 'Previous' action buttons I use @DBcommand("Domino";"ViewNextPage") and @DBcommand("Domino";"ViewPreviousPage") respectively. Now, when I reach the last document, if I keep on pressing the 'Next' button , the last document is again displayed in the new page. I want to disable this buttons when the last/first doc is reached.
Can anybody help?
Question by:smithajohn
    LVL 31

    Expert Comment

    There are a number f solutions to this posted in the "Lotus Notes/Domino" topic area --

    You can also find a number of similar solutions in the sandbox, and on Jake Howlett's
    LVL 31

    Accepted Solution


    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    This is an old article, please see an updated version of this article, located here:
    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…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    729 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

    22 Experts available now in Live!

    Get 1:1 Help Now