Hello,Is it possible to limit the fields in a selection with ITableWindow? I'm trying to select specific data from a table and I am successful doing that. However, I'm not able to limit the results returned in the display to specific fields. I'd like my query, "Select field1, field2, field3... From table Where..." to display on the the fields in the "Select" portion of the query in the the ITableWindow.ShowSelected = true window. Just display exactly what I want in the query without displaying the additional fields.Of course if that wasn't enough, I'd also like to display one field from a joined table in the results. "Select table1.field1, table1.field2, table1.field3, table2.field1... From table1, table2 Where..." But first things first, if I could get it to just display the requested fields first and no other fields that would be a great leap forward.I've tried using IQueryFilter.Subfields without success. I'm using ITableSelection, ITableWindow, and IStandaloneTableCollection. I determine if the standalone table is available in the map document, add it if not add it. NOTE: I've tried limiting the SubFields to just one table, field1, field2, field3..., without the table1. prefix without success.
QueryFilter.SubFields = "table1.field1, table1.field2, table1.field3, table2.field1";
QueryFilter.WhereClause = "WHERE..."
TableSelection.SelectionSet = Table.Select(QueryFilter, esriSelectionType.esriSelectionTypeHybrid,
esriSelectionOption.esriSelectionOptionNormal, Workspace);