Hello There,
I am getting an error in the below SELECT statement. I am trying to concatenate columns
Could you please advise, how to resolve this?
Thanks & regards
Don
Runtime error 13: Type Mismatch
I am getting an error in the below SELECT statement. I am trying to concatenate columns
Could you please advise, how to resolve this?
Thanks & regards
Don
Runtime error 13: Type Mismatch
Code:
strQuery = "SELECT [Party Name] & " - " & [Country] & " - " & [City], [Pick-up] & " - " & [Mode] & " - " & [Empty Depot], [Local THC Rotterdam], [Gross Tonnage], [Terminal], [Transport], [WHS xdock], [FTL] FROM [Sheet1$A:R] WHERE [Party Name]='" & CBuyerName & _
"' AND [VAT Number]='" & CBuyerVATNumber & "';"