• 0
Sign in to follow this  
Marianne

Retirar Acentos Ok, Mas E No Select?

Question

Usei a funcao para retirar acentos de uma palavra ex:

paravra = Request.form("palavra")

palavra_sem_acento = FuncaoRetirarAcentos(palavra)

Ate ai ok.. mas e no meu select quando for buscar as palavras q esato acentuadas nos campos la sad.gif

So da erro !

Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)

[Microsoft][ODBC Microsoft Access Driver] Undefined function 'FuncaoRetirarAcentos' in expression.

produtos.asp, line 199

Meu select

set rsprodutos = Acess_Shop.Execute("SELECT * FROM produtos WHERE FuncaoRetirarAcentos(nome) LIKE '%"& palavra &"%' AND status='A' ORDER BY nome")

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this