laptop and a wrench

Bug

IQueryFilterDefinition::PostfixClause does not work correctly to ORDER BY when added to a QueryFilter unless edits are saved first.

Zuletzt veröffentlicht: August 25, 2014 No Product Found
Bug-ID-Nummer NIM010578
EingereichtJuly 25, 2007
Zuletzt geändertJune 5, 2024
Gilt fürNo Product Found
Gefunden in Version9.2
ProgrammspracheVBA
StatusWill Not Be Addressed

Zusätzliche Informationen

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

Workaround

Use IDataStatistics and IStatisticsResults as an alternate way of getting the maximum value from a field:Private Sub TestPostFixClause() Dim pMxDoc As IMxDocument Dim pFL As IFeatureLayer Dim pCur As IFeatureCursor Set pMxDoc = ThisDocument Set pFL = pMxDoc.ActiveView.FocusMap.Layer(0) Set pCur = pFL.Search(Nothing, False) Dim pData As esriGeoDatabase.IDataStatistics Set pData = New esriGeoDatabase.DataStatistics pData.Field = "TestID" Set pData.Cursor = pCur Dim pStatResults As esriSystem.IStatisticsResults Set pStatResults = pData.Statistics Dim MaxObjectID As String MaxObjectID = pStatResults.Maximum MsgBox MaxObjectIDEnd Sub

Schritte zur Reproduzierung

Bug-ID: NIM010578

Software:

  • No Product Found

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln