"Type mismatch"

  • Having trouble getting this sql statement to work, gives the Type mismatch error. Any ideas what I'm doing wrong?

  • Re: "Type mismatch"


    According to me this does the same, I could be wrong:


    Code
    "SELECT CUSTINVOICETRANS.QTY " & Chr(13) & "" & Chr(10) & _ 
    "FROM AXDB.Bmssa.CUSTINVOICETRANS CUSTINVOICETRANS" & Chr(13) & "" & Chr(10) & _ 
    "WHERE CUSTINVOICETRANS.ITEMID = 'MFD101' and CUSTINVOICETRANS.ITEMID  = 'RMI01'
  • Re: "Type mismatch"


    Well the logic is like this:


    Find a product line of "MFD101" and see if it has an installation "RMI01" line with the same serial ID.


    They are both sepearte product lines, so that is the problem.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!