Manage Learn to apply best practices and optimize your operations.

Get Rid Of "No Documents Found"

This is one way to get rid of the irritation "No Documents Found" in a
notesview. Its based on a ViewTemplate or an embedded view anywhere.
First, create a field in the form used, named Count or whatever. Number field,
default value=1.
Create a hidden column in the view, with that field.

Use this formula in a Computed Subform:

value:=@If(@IsError(@Sum(@DbColumn("" : "NoCache"; ""; "Products";
4)));"0";@Sum(@DbColumn("" : "NoCache"; ""; "Products"; 4)));

This looks in view "Products", column 4, the value from the Count field, and
sums it. If its 0 it loads the "Empty" subform, if not the "SubProd" subform.
The "Empty" subform tells the user that "There are no products in this
category", or whatever text you choose. The "SubProd" is ofcourse the subform
with the embedded view.

Dig Deeper on Lotus Notes Domino Administration Tools

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...