I am new to Python and have started to create scripts for copyrows. I am wondering how to copy some rows in a featureclass to another featureclass
here is the code,"TERP","RFCP"is the name of featureclass in the code ,"GB" is the fieldname in TERP
import arcgisscripting
gp = arcgisscripting.create(9.3)
gp.workspace = "D:\data\test\1\H45G062061dlg.mdb"
#workspaceslists=gp.listworkspaces("*","access")
#for ws in workspaceslists:
# gp.workspace=ws
gp.toolbox = "management"
query = 'GB = "7201001"'
gp.maketableview(TERP," GB_view", query)
# Copy the table view to a new table
gp.copyrows("GB_view", RFCP)
Thanks in advance