SQL type mismatch
jeg får type mismatch. kan ikke forstå hvorfor den fejlerrsPaidByScandlines.Source = "SELECT SUM(AmountEuro) AS TotalPaidByScandlines FROM dbo.tblDamageEntry WHERE damageID = " + (rsResults.Fields.Item("IDdamage").Value) + " AND accountID = 1014"
FEJL:
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: "SELECT SUM(AmountEur"]'
/reports/include/hull_handmstatistics.asp, line 171