Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
manisha_uit
Creator
Creator

List box total count

Hi,

How to display the total count of the values present in a particular list box?

Thanks

Manisha

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

   In properties of the listbox -> General Tab -> In Title Type below statement.

   ='Grade               ' & count(Grade)

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

12 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

   Do you mean to say if you have 100 values in listbox you want to show 100.

   Or do you mean that you have 100 values which are  repeated in listbox and you want to know which value is repeated how many times.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
manisha_uit
Creator
Creator
Author

Hi,

I mean if i have 100 values in the list box it should show 100 like a statistic count.

Thanks

Manisha

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

   Create a textbox.

   In text area type

  =count(Filedname)

  Here field name is the one for which you have created the list box.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
manisha_uit
Creator
Creator
Author

Hi,

Thats fine.

But how to get the count on the same list box.

Like on the left side i have field name and the count on the right side.

Thanks

Manisha

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

   Ok.

   Go to the properties of the listbox -> in expression tab -> add expression -> count(Field)

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
SunilChauhan
Champion
Champion

in caption of list box u can write expression folloing '=' sign.

thanks

Sunil Chauhan

Sunil Chauhan
manisha_uit
Creator
Creator
Author

Hi Kaushik,

Thanks for your reply. But what you suggested gives me the following result.

listbox.JPG

Instead i want to display something like:

listbox_modified.JPG

Please look into this.

Thanks

Manisha

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

   In properties of the listbox -> General Tab -> In Title Type below statement.

   ='Grade               ' & count(Grade)

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
SunilChauhan
Champion
Champion

see the attached file

Sunil Chauhan