Count number of documents in a view

I want the number of documents in a specified view to be displayed at a page in a Notes DB and at an webpage.Does anyone have an easy solution for this?

Subject: Count number of documents in a view

Dear Staffan,

Use @Elements(@dbcolumn(…))

It will count.

Rishi

Subject: RE: Count number of documents in a view

Thank you for your answer. I need a more datailed explaination though. I guessed that @Elements ans @Dbcolumn was the commands to use but I couldn’t figure out exactly how to use them.

Subject: Create a computed for display field or computed text

If a Page design element, you can’t use a field, use the computed text.

Hope that helps…

Subject: Count number of documents in a view

Drop a Computed Text element on your page using the Create Menu from within Designer. Then type the @Elements(@DBColumn(…)) formula you would like to use in the Computed Text formula window.

Here is an example:

@Elements(@DbColumn(“”:“NoCache” ; “ServerName” : “DBName” ; “ViewName” ; 1)

Subject: RE: Count number of documents in a view

Thank you! Worked perfectly in Notes!Now, how can I show the result, and only the result, of the Computed Value in an html-page?

Subject: RE: Count number of documents in a view

Will need some help on that one. I don’t use my Domino server for any html or web services.