How to customize 0 documents returned for a $$SearchTemplateDefault form?

Good day all,

I have managed to create customized $$Search and $$SearchTemplateDefault forms for my web site (single NSF).

The SearchTemplateDefault works fantastic when the search found documents and displayed all matching documents as expected. However, when there is 0 documents returned, the $$ViewBody evaluates to any empty string. Can someone give me some pointers how I can customize a statement telling user that his/her search reaps no matching document?

Many thanks in advance! =)

Teck-Lung

Subject: Found the use of “TotalHits”!!! Please ignore my post, thanks.

…