For Feature Class in a GDB, I queried in Oracle SQL Developer:select * from RailLRSRoutes where RouteName = 'A1'and got 12 records returned. Got the same results using Definition Query in ArcMap.In the piece of code below: IQueryFilter queryFilter = new QueryFilterClass(); queryFilter.WhereClause = "RouteName = 'A1' "; IDataset dataset = (IDataset)fc; ISelectionSet pSelectionSet = fc.Select(queryFilter, esriSelectionType.esriSelectionTypeHybrid, esriSelectionOption.esriSelectionOptionOnlyOne, dataset.Workspace);the pSelectionSet.Count = 1 rather than multiple. What's wrong with my code here? Thanks.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.