Get all the unique text entries of the column value.
int GetDistinctValues( vector<string> & vsValuse, vector<uint> * pvCounts = NULL, BOOL bOnlyGetShownValues = FALSE )
value as COLDISTINCTVALUE
EX1
void GetDistinctValues_ex(int nCol) { Worksheet wks = Project.ActiveLayer(); if ( wks ) { Column col(wks, nCol); vector<string> vsValuse; vector<uint> vnCount; col.GetDistinctValues(vsValuse, &vnCount); int nSize = vsValuse.GetSize(); for(int ii = 0; ii < nSize; ii++) out_int(vsValuse[ii]+"=", vnCount[ii]); } }
origin.h