count occurrence in Listview

User avatar
sal21
PlatinumLounger
Posts: 4362
Joined: 26 Apr 2010, 17:36

count occurrence in Listview

Post by sal21 »

In a second column of Listview i Can have:
1334
1335
1238
...
And myvar=1335 i need To count all value <> myvar..
In this case are only 2, ho To?

Note:
In this case The value in column are only 3 But i Can have approx 50/90 value
Last edited by sal21 on 05 Feb 2014, 16:23, edited 1 time in total.

User avatar
HansV
Administrator
Posts: 78545
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: count occidente in Listv

Post by HansV »

Wouldn't it be easier to look at the data source of the listview?

PS: you can't keep on asking questions without providing any feedback to the replies that you receive.
Best wishes,
Hans