thankyou both for your quick responses...
for the time being I expect to have arcgis 9.3 only, though with arcinfo capability. as I said I'm coming from a mapinfo background so please excuse if I name something incorrectly or misunderstand an analogue between them.
perhaps my task can give you some insight into where I should post this, quickly...
point layer1 has say 10 points
point layer2 has say 100 points spread over the same area as layer1
what I want is to know the five closest points from layer2 for each point in layer1...
for each layer1.obj, i <=5, i++
find next closest layer2.obj
end loop
results would be something like:
layer1 item1 (1,2,3,4,5 closest points from layer2 and their distances)
layer1 item2 (1,2,3,4,5 closest points from layer2 and their distances)
...
layer1 item10 (1,2,3,4,5 closest points from layer2 and their distances)
with admittedly whimsical syntax that is what i'm picturing; if someone could translate that into an arc environment I'd be very grateful, or point me to the proper forum....
thanks again,
cj