Undefined function 'replace' in expression

V

vidas

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

:(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top