I'm using ITableWindow2.FindViaStandaloneTable--that works. I can get the ITableWindow for the stand alone table and the table from that.
Then I try to sort using an ITableSort. No exceptions, but the table doesn't sort. Is ITableSort the right approach or is there a different approach to sorting within a Table Window?
ITableSort sort= new TableSortClass(); sort.Fields = "MDATE"; sort.Ascending["MDATE"] = true; sort.Table = standAloneTable.Table; sort.Sort(null);
The goal is to programmatically sort a field. The way an end-user would manually right click a column on an attribute table and sort ascending or descending.