python script for using values from one table to add to another

Discussion created by katy1354 on Feb 1, 2013
Latest reply on Feb 1, 2013 by katy1354
Hi there,

I have got question about how to write a script to grab information from one attribute table and add them to another one. to be more specific,, there are two layers, a point layer with start and end shotpoint IDs (and of course Easting & Northing) and another one which is basically the same data in line format that connect the start point to end point to present track lines, what I need to do is to take these shotpoint IDs from point layer and add them to each single line. I was thinking of using join but it didnt worked out. Is there anyone know how to do it?

thanks a lot