POST
|
Hi, I am able to programmatically join a layer and a table, the way suggest at "http://help.arcgis.com/en/sdk/10.0/vba_desktop/conceptualhelp/index.html#/How_to_join_a_table_to_a_layer_in_ArcMap/00010000008t000000/". I need to now programatically get only the rows that were joined. or the count of the rows only joined. ie. if the layer had a "CITYID" field joined to "CID" field of the table. may be only 10 rows had the same "CITYID" as the table. or how can I refer the "CID" after the join in the where clause of the layer query. If I use featurePin.Fields.FindField("CITY.CID") it returns '-1' ie. the cfield does not exists. how can I get the joined table field name to query the layer, after the layer and table were join ed programmatically(VBA)? Thanks.
... View more
06-18-2013
12:50 AM
|
0
|
1
|
569
|
POST
|
"select by location --> 'Target layer features are identical to the source layer features'" gives the best results. some features which did overlap exactly were also displayed by the script. hence the count was greater than "select by location --> 'Target layer features are identical to the source layer features'" option. Thanks.
... View more
06-12-2013
02:11 AM
|
0
|
0
|
516
|
POST
|
Hi, Thanks, got the answer to my query. But I have one more query, The output from this script(cloneOld.IsEqual(cloneNew) = True ) and select by location --> 'Target layer features are identical to the source layer features' output should be same? But I get different count. I need to do "select by location --> 'Target layer features are identical to the source layer features'" in VBA. Is this the right approach. the feature count from my VBA script and from "select by location --> 'Target layer features are identical to the source layer features'" should be same. Thanks.
... View more
06-10-2013
08:58 PM
|
0
|
0
|
516
|
POST
|
hi, I am quite new to arcObjects. I got the logic behind this, but get struck in 'IQueryFilter' Dim pQueryFilter As IQueryFilter Set pQueryFilter = New QueryFilter ' Set the where clause pQueryFilter.WhereClause = "ObjectID = 'ToWhatand HOW'" hope you can help me resolve this issue. 'Inside the loop, find the feature in featClsNew with the same ObjectID as featureOld 'using IQueryFilter and the WhereClause specify the query condition of ObjectID Thanks.
... View more
06-04-2013
08:52 PM
|
0
|
0
|
516
|
POST
|
Hi, I have 2 polygon layers. PolyOldLayer has some old data and based on the new records, PolyOldLayer had been edited and saved as polyNewLayer. I would like to have the count of all the polygons I edited with reference to PolyOldLayer. i.e The spatial difference between PolyOldLayer and PolyNewLayer with VBA. How can it be achieved. Thanks.
... View more
05-31-2013
01:24 AM
|
0
|
7
|
1083
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|