Sorting a table based on a field using ITableSort no longer works if the table is participating in a join at ArcGIS 9.2.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM006811
已提交
February 13, 2007
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.2
编程语言
VBA
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
No Public Explanation
解决办法
Pass in a selection set rather then the RelQueryTable. Dim z As ISelectionSet Set z = pTable.Select(Nothing, esriSelectionTypeHybrid, esriSelectionOptionNormal, Nothing) Dim pRow As IRow Set pQueryFilter = New QueryFilter Set pTablesort = New TableSort 'Set pTablesort.Table = pTable Set pTablesort.SelectionSet = z Set pTablesort.QueryFilter = pQueryFilter