Newbie Question about Query

434
0
04-29-2010 06:10 AM
Yi-ChenYang
New Contributor
Dear All,
I have a newbie question about spatial query.

I have two FeatureLayers in my map: FL1 and FL2, both of them are shapefiles in polygon.
I used "table.search" SQL method on FL1 and then I got my results back as RowCollection: RC1
The code I used was:

Dim RC1 As RowCollection = FL1.Search("drawdown > 200")

Everything was fine until this part. The results I had was a 13 rows RowCollection

What I want to do next is "Identify the polygon in FL2 that intersect with this RowCollection:RC1"
Since RowCollection do not have Geometry property, I do not know how to do the spatial query?

Can anyone please kindly help me on this?
I have been working on that for 2 days.

THANKS A LOT IN ADVANCE!!!

Ethan
0 Kudos
0 Replies