Access怎样修改很多条记录某个字段中的部分内容
比如我要将access 2000数据库中news表中
content字段中的内容
<IMG border=0 src="/news/admin/eWebEditor/UploadFile/201332410493644.jpg">
修改成
<IMG border=0 src="/admin/eWebEditor/UploadFile/201332410493644.jpg">
就是把很多条记录中的/news/替换成/
有些文章中说可以用replace函数,但Access 2000不支持,有篇文章说可以自定义个replace函数,
Public Function Rep(RepInThis As String, RepThis As String, RepWithThis As String) As String
Rep = Replace(RepInThis, RepThis, RepWithThis)
End Function
可我不知道这个自定义函数要写在哪里啊,难道写在sql视图里吗?有谁能帮帮我吗