It looks like you are trying to replace all instances of a dash in col1 with an empty string. Bascially you want to delete all the dashes in col1. Is this correct? Why doesn't your query work? Do you get an error or does it just return the wrong results? dz
dzaccess@yahoo.com
Yes, I'm trying to replace all the dash in for that column.
It simply pops up the error message, the query not runn
at all. Looks like it can't recognize the replace function.
I'm using Access 2000
I just read that you are using Access 2000. Make sure that you have the DAO library installed. Open the code window. Click on Tools, References, and scroll down to the Microsoft DAO object library. Click it. Then the code should run. If it doesn't Dim the db and rs like this:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.