When trying this, I got error messages. I'm not sure that the replace function is supported in msAcceess SQL. could you be more specific with the syntax?
Replace(String to Search, Char To Find, Replacement Char)
MyString = "This is the String To Search"
? Replace(MyString, " ", ";"
This;is;the;String;To;Search
In an UPDATE query, Update to (this is the ROW in the Query grid. "Replace is NOT an SQL function, but a VB / VBA function. I'm not positive it is in all versions. Try the example in the "immediate" / debug window. Just cut and paste the two lines, MyString = ... and ? Replace. If it gives an error something is awry. If it returns the same as my example it should work.
MichaelRed
redmsp@erols.com
There is never time to do it right but there is always time to do it over
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.