• 0
Sign in to follow this  

Alguem Sabe Que Erro Eh Esse?


na hora de incluir a subcategoria ta dando esse erro:

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[MySQL][ODBC 3.51 Driver][mysqld-4.0.26-debug-log]Duplicate entry '0' for key 1

/admin/inclusao_sub.asp, line 282


    objRS.Open strQ, objCon, , , &H0001
	If objRS.Fields("subcategoria").properties("IsAutoIncrement") = False Then
      objRS("subcategoria") = Trim(Request.Form("subcategoria"))
    End If
    objRS.Update 'linha 282
    Set objRS = Nothing

foda imaginei ser negocio de duplicação e tal..mas não é...eu adiciono nomes que não tem lá e mesmo assim da zica...alguém sabe porq disso e como arrumar isso?

Share this post

Link to post
Share on other sites

2 answers 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.

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