Counting documents in a view

Hi,

Id like to be able to count the number of documents in a view. I cant seem to find any way to do this.

What Id like to see is this. If I group several documents by category in a view, Id like one column to display the total number in that category, and then a total at the bottom of the screen.

I know its possible, I just dont know how to do it!

Any ideas?

Mat
prenexusAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ghassan99Commented:
go to the column properties, the second tab (sorting), then choose the method of counting from the 'total' drop down box.
0
prenexusAuthor Commented:
Ive tried the total column before, but either Im using it wrong or its not doing what I want.

When I choose a column to place the total in and make it a Total in properties, it always displays zero. No matter what I try!

Maybe some more explanation is in order.

I have a Tax database with a view categorised by Form status. I  want to place a count of all the documents with..say...Open as status, Closed as status, Pending etc. in a column.

Does that clarify a bit more?

Mat
0
sk5tCommented:
The @DocChildren function should return what you want, but I believe you'll have to use it in the categorized column--although I imagine this should suit your needs just fine.

For example, if your current column formula in the view lists the status field, try:

Status + " - " + @DocChildren + " documents"
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

sk5tCommented:
The @DocChildren function should return what you want, but I believe you'll have to use it in the categorized column--although I imagine this should suit your needs just fine.

For example, if your current column formula in the view lists the status field, try:

Status + " - " + @DocChildren + " documents"
0
prenexusAuthor Commented:
Good answer, but again its not quite what Im looking for.

I tried your solution and while it worked great, its not quite what Im after.

I want to put the total in a column off to the right so that when all the categories are unexpanded (closed) then the totals will be next to the categorie names, but in a column thats sortable.
(So you can rank the number of outstanding issues against the closed issues or something like that.)

Any more ideas?

Mat

0
AntonysinghCommented:
Hi ,

In your view Create a column with Column value as 1, go to sorting property of column and make total option enable. If you want to see only the total of documents when collapsed (unexpanded), and you do not want to see details of total, mark "Hide details row" propery. I hope you have a categorised column in your view.


good luck,

Regards,
Antony.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
prenexusAuthor Commented:
Thats it!

Thanks for everyones help - its easy when you know how!

Mat
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.