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

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top