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")
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.