I have a "$$ViewBody " field on one of my forms that displays the embedded view results . When the $$viewBody returns a result , its fine . But when it does not, i want to display the message " No results found " . Is there any way to do this. I greatly appreciate your responce.
The trick here is to determine in a separate field the number of records, then either hide the $$ViewBody or your text based on that number being zero or not. The gotcha is this: if the view content count could be large, you need to avoid any overflow of limits imposed by your chosen technique.
Alternatively you can put the $$ViewBody field inside a div or span tag and then count the number of table rows (or however you’ve set up your view entries) using javascript, and then write a message based on that.
There are loads of posts for this on LDD and searchDomino.
Thanks for the responce. I have another problem. I have implimented a search function in lotus domino R5. The problem is when i type in a search query and hit GO, it displays small GRAY box in the first column. When you put the cursor on it, it shows up a percentage value. Anyway, the real problem is after hitting the GO button for 10 times, you see 10 gray boxes in the first column and empty fieldsin other columns of the view. Is there any way i can remove these gray boxes or automate its deletion.