Jump to content
Fórum Script Brasil
  • 0

Erro Ao Excluir


smez

Question

<%
set rs = createobject("adodb.recordset")
set rs.activeconnection = abredb

SQL = "DELETE * FROM tblCategorias WHERE IngCategoriaIDD ="&Request.QueryString("IngCategoriaID")&""
rs.open sql
Response.Redirect("con_cat.asp?excluido=sucesso")

rs.close
set rs = nothing
set conn=nothing
%>

da o seguinte erro

Tipo de erro:

Microsoft JET Database Engine (0x80040E10)

Nenhum valor foi fornecido para um ou mais parâmetros necessários.

/mc/admin/excl_cat.asp, line 7

Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Microsoft JET Database Engine (0x80040E14)

Erro de sintaxe (operador faltando) na expressão de consulta 'lngCategoriaID ='.

/mc/admin/excl_cat.asp, line 7

agora da esse erro

Link to post
Share on other sites
  • 0

Se o campo IngCategoriaID é texto, então:

SQL = "DELETE * FROM tblCategorias WHERE IngCategoriaID ='"&Request.QueryString("IngCategoriaID")&"'"
se o campo IngCategoriaID for numero, então:
SQL = "DELETE * FROM tblCategorias WHERE IngCategoriaID ="& Request.QueryString("IngCategoriaID")

Link to post
Share on other sites
  • 0

Tipo de erro:

Microsoft JET Database Engine (0x80040E14)

Erro de sintaxe (operador faltando) na expressão de consulta 'lngCategoriaID ='.

/mc/admin/excl_cat.asp, line 7

continua o erro

o campo e automuneração

Link to post
Share on other sites

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.



  • Forum Statistics

    • Total Topics
      148691
    • Total Posts
      644531
×
×
  • Create New...