laptop and a wrench

Bug

Calling IFeatureClass.FeatureCount on a Query Table fails in a File Geodatabase.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM031954
SubmittedFebruary 7, 2008
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.3
Version Fixed9.3
StatusFixed

Workaround

Dim pFeatureCursor As IFeatureCursor Set pFeatureCursor = pFeatureClass.Search(Nothing, False) Dim dCount As Double Dim pIFeature As IFeature dCount = 0 Set pFeature = pFeatureCursor.NextFeature Do Until pFeature Is Nothing dCount = dCount + 1 Set pFeature = pFeatureCursor.NextFeature Loop MsgBox dCount

Steps to Reproduce

Bug ID: NIM031954

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options