"Type mismatch"

Important Notice


Please note that on 14th December 2023 users will experience an expected outage whilst we make upgrades to our network. We anticipate this process may take a couple of hours and so we apologise in advance for any inconvenience.

  • 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!