gp.MakeTableView_management("table1.dbf", "lyrtable") gp.SelectLayerByAttribute_management("lyrtable", "New_Selection", '"AREATYP" = 3136') gp.CopyRows_management("lyrtable", "table2.dbf")
import arcgisscripting gp = arcgisscripting.create(9.3) gp.workspace = "C:/junk/db1.mdb" gp.maketableview("Table1", "t1", "temp = 4") gp.copyrows("t1", "z1")
What error message you getting?I made a quick mdb and table and ran this script (similar to yours) and it worked fine.import arcgisscripting gp = arcgisscripting.create(9.3) gp.workspace = "C:/junk/db1.mdb" gp.maketableview("Table1", "t1", "temp = 4") gp.copyrows("t1", "z1")
gp.Append_management("x1", "t1", "NO_TEST")
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.