Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Undefined function 'replace' in expression

43 views
Skip to first unread message

vidas

unread,
Dec 13, 2004, 9:47:08 AM12/13/04
to
Hi,

Problem only and only with access 2000 in computer at home.
My work computer ok. On both computers WIN-XP.
Office 2000 from the same CD.

SELECT left("AB",1) - ok.
SELECT replace("AB","A","X") - Undefined function 'replace' in
expression.
REPLACE in imediate window is working ok.

Module UsysVB (imported from ACCESS97):
#If VBA6 Then
#Else
Function replace(txt As String, old As String, neww As String) As String
....
#end if

:(

Ken Snell [MVP]

unread,
Dec 13, 2004, 10:08:40 AM12/13/04
to
The Replace function did not work in queries in the early version of ACCESS
2000. Get and install the latest updates for ACCESS 2000 and Jet to fix this
problem.

See these Microsoft.com links:

http://support.microsoft.com/default.aspx?scid=kb;en-us;239114
http://office.microsoft.com/en-us/officeupdate/CD010226001033.aspx
--

Ken Snell
<MS ACCESS MVP>

"vidas" <v...@centras.lt> wrote in message
news:7a6944a0c06b8f5e...@localhost.talkaboutsoftware.com...

0 new messages