No. What I'm trying to do is get only the unique values in the column. Suppose that I have a table named Table1 with lots of columns, one named Column1. The table consists of multiple rows of data.
Row 1 Col 1 field is "A"
Row 2 Col 1 field is "A"
Row 3 Col 1 field is "B"
Row 4 Col 1 field is "B"
Row 5 Col 1 field is "C"
Row 6 Col 1 field is "C"
Row 7 Col 1 field is "D"
Row 8 Col 1 field is "D"
Row 9 Col 1 field is "E"
I'd like to filter the dataview to return only (5) rows of data.
Row 1 Col 1 field is "A"
Row 2 Col 1 field is "B"
Row 3 Col 1 field is "C"
Row 4 Col 1 field is "D"
Row 5 Col 1 field is "E"
I have no problem using a SQL statement to get a dataset like the above, but thought there might be a better way.
vba & vb6 programmer
Row 1 Col 1 field is "A"
Row 2 Col 1 field is "A"
Row 3 Col 1 field is "B"
Row 4 Col 1 field is "B"
Row 5 Col 1 field is "C"
Row 6 Col 1 field is "C"
Row 7 Col 1 field is "D"
Row 8 Col 1 field is "D"
Row 9 Col 1 field is "E"
I'd like to filter the dataview to return only (5) rows of data.
Row 1 Col 1 field is "A"
Row 2 Col 1 field is "B"
Row 3 Col 1 field is "C"
Row 4 Col 1 field is "D"
Row 5 Col 1 field is "E"
I have no problem using a SQL statement to get a dataset like the above, but thought there might be a better way.
vba & vb6 programmer