I want to delete the row which ZQBM field contains 331122001.
any ideas, thoughts? i would gratefully appreciate it.
import arcgisscripting
gp = arcgisscripting.create(9.3)
gp.workspace = r"D:\excerise\cli.mdb\resul"
fc = r"D:\excerise\cli.mdb\resul\CM_1"
rows = gp.updatecursor(fc)
row = rows.next()
while row:
if row.ZQBM like '331122001%'
rows.deleterow(row)
row = rows.next
any ideas, thoughts? i would gratefully appreciate it.
import arcgisscripting
gp = arcgisscripting.create(9.3)
gp.workspace = r"D:\excerise\cli.mdb\resul"
fc = r"D:\excerise\cli.mdb\resul\CM_1"
rows = gp.updatecursor(fc)
row = rows.next()
while row:
if row.ZQBM like '331122001%'
rows.deleterow(row)
row = rows.next