my DataView won't sort

B

bill

When I set the Sort on a DataView, it is ignored, and I can't figure out
why. I'm using vb.net.

After I successfully populate the DataView, I set the Sort on a String
column, but it doesn't happen, and consequently my datagrid which is bound
to the DataView doesn't get sorted.

There are no errors - I have stepped through the code, and manually set the
Sort in the Command window. The order of the rows doesn't change. I look
at the data in the Command window also (debug.print DataView1(1)(1)) but the
order doesn't change.

What might be the reason for this? Can I sort on a String column?

Thanks
Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top