D
Dan Pinheiro \(Hotmail\)
Hi All,
I´m trying to run the code bellow in Access 2000/XP:
.... SELECT
'2'+Right('000000'+LTrim(P3.PRODUTO),6)+Right('0000000000000000000000000000'+LTrim(Replace(P3.PRECO_VEND,',','')),18)+'000'+Format(P3.DT_CAD_PRO,"dd")+Format(P3.DT_CAD_PRO,"mm")+Format(P3.DT_CAD_PRO,"yy")
AS Expr1 ...
It doesn´t work, appear the message "Function Replace Not Defined in
expression".
Running in the Access 2003 it works fine.
What function I have to use?
Tks in advance.
Dan Pinheiro
Rio de Janeiro - Brasil.
I´m trying to run the code bellow in Access 2000/XP:
.... SELECT
'2'+Right('000000'+LTrim(P3.PRODUTO),6)+Right('0000000000000000000000000000'+LTrim(Replace(P3.PRECO_VEND,',','')),18)+'000'+Format(P3.DT_CAD_PRO,"dd")+Format(P3.DT_CAD_PRO,"mm")+Format(P3.DT_CAD_PRO,"yy")
AS Expr1 ...
It doesn´t work, appear the message "Function Replace Not Defined in
expression".
Running in the Access 2003 it works fine.
What function I have to use?
Tks in advance.
Dan Pinheiro
Rio de Janeiro - Brasil.