Jump to content
Fórum Script Brasil
  • 0

Microsoft VBScript runtime error '800a000d'


Raphael Moraes

Question

Boa tarde,

Estou com um problema do qual não consigo resolver,

faço uma query no meu asp e ele retorna um type mismatch, porém quando tento via sql, funciona normal,

Alguém poderia me ajudar?

Segue,

count_query = "SELECT COUNT(pkni_id) as qty_log FROM DOCOWN.tb_qm_log WHERE atsf_dev ='" & atsf_dev & "' AND atsf_line = '" & atsf_line & "' AND atsf_pn ='" & atsf_pn & "' AND atsf_machine ='" & atsf_machine & "' AND atsf_product = '" & atsf_product & "'"

Set recLogTemp = conDB.Execute(count_query)
qty = recLogTemp.Fields("qty_log")
    
If recLogTemp.Fields("qty_log") > 2 OR recLogTemp.Fields("qty_log") = 2 Then

Link to comment
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.



  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      652k
×
×
  • Create New...