AnsweredAssumed Answered

Join IN_MEMORY Table to FeatureClass

Question asked by jamesfreddyc on Oct 4, 2012
Latest reply on Oct 4, 2012 by jamesfreddyc
ArcGIS 9.3.1
Python 2.5

I have a "IN_MEMORY" table verified by reviewing the gp.messaging:

newrows = gp.searchcursor("IN_MEMORY\TempDT") newrow = newrows.next() while newrow:   gp.AddMessage("Inserted: " + str(newrow.gis_station) + ", " +  str(newrow.station) + ", "  + str(newrow.sample_date)     newrow = newrows.next()


Now I'd like to join this with a FeatureClass in a PGDB.  I suppose that I will then have to issue a copyfeatures_management in order to see the result?  I really have no idea how else to see the joined FC in ArcMap.

Anyway, there is no error, but the output doesn't inlcude the joined fields either so any help is appreciated:

        tab = "IN_MEMORY\TempDT"     memtabname = "inmemtab"     gp.MakeTableView_management(tab, memtabname)     gp.AddJoin_management(memtabname, "gis_station", fc, "STATION", "KEEP_ALL")     gp.copyfeatures_management(fc, tempFC)

Outcomes