-----Alkuperäinen viesti-----
Paste this function into a standard module, and call "fReplace" in your
query instead of "Replace":
'----- start of code -----
Function fReplace( _
Expression As String, _
Find As String, _
Replace As String, _
Optional Start As Long = 1, _
Optional Count As Long = -1, _
Optional Compare As Integer = vbDatabaseCompare)
fReplace = VBA.Replace( _
Expression, Find, Replace, Start, Count, Compare)
End Function
'----- end of code -----
An alternative might be to apply the latest Access 2000 service pack,
which I *think* will allow you to call the Replace function directly
from your query.
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)
.