Setting Query->IndexFieldNames="" does nothing
Posted: Fri 13 Apr 2007 20:47
Hi, if I'm viewing a query result set in a grid and set
Query->IndexFieldNames="Field1";
the result set is ordered by Field1 and record position is maintained (as you would expect). If I then set
Query->IndexFieldNames="";
nothing happens. I could follow that with the command
Query->Refresh();
and that will reset the order to the default but, that often results in loss of record position.
Query->IndexFieldNames="Field1";
the result set is ordered by Field1 and record position is maintained (as you would expect). If I then set
Query->IndexFieldNames="";
nothing happens. I could follow that with the command
Query->Refresh();
and that will reset the order to the default but, that often results in loss of record position.