laptop and a wrench

Bogue

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

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM010578
EnvoiJuly 25, 2007
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.2
Langue du programmeVBA
StatutWill Not Be Addressed

Informations supplémentaires

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.

Solution de contournement

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

Étapes pour reproduire

ID de bogue: NIM010578

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement