I have a Flexgrid (vb6) disconnected from any Db, having some rows like sh:own in image below ... I'm not able to create a cycle to obtain how many different groups (by vat) i have on the grid and calculate the relative amount so to have .. as you see there is 2 groups in example .... result should be like :
- A 405
- B 75
note : i see this post but could't use it .. there is error: Vb6 Grouping Values in Flexgrid
I use the Flexgrid control in my VB6 programs sice 2001 up to now and I have no knowledge of any built-in resource that could do it for you. I do a lot of this in the hard way, I mean, searching the grid values through TextMatrix property. To save work I made a custom UserControl using a FlexGrid, so I coded this kind of resource inside it.