Wilder1626
asked on
VB6- Get counts of distinct value in MSHFlexgrid2
Hello all
I would like to be able to get the counts of distinct value from my MSHFlexgrid2 in column 4.
ex:
In column 4, i can see values like:
20120101
20110605
20101212
20121019
I would like to have the look at the frist 4 chars from that value and then counts the number of time it shows.
Example of the msgbox:
2010 = 1 Records
2011 = 1 Records
2012 = 2 Records
How can i do that please?
Thanks again for your help
I would like to be able to get the counts of distinct value from my MSHFlexgrid2 in column 4.
ex:
In column 4, i can see values like:
20120101
20110605
20101212
20121019
I would like to have the look at the frist 4 chars from that value and then counts the number of time it shows.
Example of the msgbox:
2010 = 1 Records
2011 = 1 Records
2012 = 2 Records
How can i do that please?
Thanks again for your help
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hello
I just tried but i have about 70 1 = 0 records
I just tried but i have about 70 1 = 0 records
ASKER
Sorry i did something wrong.
it work very good.
Thanks again
it work very good.
Thanks again
ASKER
Open in new window