Hiding "No Documents Found"

Everybody who works with Domino and web knows the annoying error message "No
documents found", when displaying af view containing no documents. Unfortunally
there is no way of replacing/erasing this message, so the only way to get rid
of this "feature" is to hide it.
If You put the code below in Your hide when formula om Your $$ViewBody field or
on the embedded view, You will not see anything, if the view is empty. You can
of course add Your own message, by hiding it whit the same formula, but with
reverse logic

Comments:
The formula assumes that You have a first column containing something that can
be returned by a DbColumn. This is usually the the case, but it can not be
specialtext, like @DocNumber.
The replacement of "-" with "\\" in the first line is due to an error in
@ViewTitle. This problem is corrected in R5, and the line couldt be omitted in
this release.
View:=@ReplaceSubstring(@Subset(@ViewTitle;-1);"-";"\\");
LookUp:=@DbColumn("":"Nocache";"";View;1);
Docs:=@Elements(LookUp);
@If(Docs=0;1;0))

Dig Deeper on Lotus Notes Domino Administration Tools

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com'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 ...

SearchDataCenter

SearchContentManagement

Close