替换方法
Private Sub Command0_Click()
Dim rec As ADODB.Recordset
Dim i As Long
Set rec = New ADODB.Recordset
rec.Open "select * from 表1", CurrentProject.Connection, adOpenStatic, adLockOptimistic
For i = 1 To rec.RecordCount
rec.Fields("路径") = Replace(rec.Fields("路径"), rec.Fields("地名"), "")
rec.Update
rec.MoveNext
Next i
End Sub