Okay, after looking around in my emails I have found the following.
1. No matter what is posted in EVERY forum on the net about not being able to do this. I am doing this.
I have in my system32 folder a dll named VBE6.dll
File Version is 6.4.99.69
Comments are June 30, 2003
2. I am definitely able to on all our machines including one with AC97 able to use the replace command (UNWRAPPED) in the following manners
SELECT cus_no, replace(item_no, "_", "") FROM CusItems;
Data
cus_no item_no returns
123456 Andys_part Andys part
232456 Your_Part Your_Part
On the following sql
Update cusItems set item_no = replace(item_no, "_", " ");
Does in fact change my fields from
Andys_part to Andys Part
your_Part to your part
There are no modules in my test db and thus there are no wrappers for the common replace function.
The only reason I got twiggy with this reply is that I remember EVERY forum on the net stated this could not be done in queries or reports and that you had to wrap the function inside your own function.
If you have the VBE6.dll in your system32 folder I would check the versions. I do not even remotely remember where I found the info that turned me onto this fix, but I had the exact problem......Huge query that utilized the REPLACE function in 100's of queries and on the production machine did not work, even though the developement machine was an image of the production machine with some extra patches. REplaced production dll with develope dll and VWALA all is well.
Check your version and let me know.
Andy Baldwin
"Testing is the most overlooked programming language on the books!"
Ask a great question, get a great answer. Ask a vague question, get a vague answer.
Find out how to get great answers FAQ219-2884.