SQL = "UPDATE externalcompany"
SQL = SQL & " SET CompanyName = '" & companyname & "', addresslineone= '" & addresslineone & "', Addesslinetwo= '" & addresslinetwo & "', citytown= '" & citytown & "', postcode= '" & postcode & "', LoB= '" & LoB & "', Business = '" & Business & "', Date1= '" & date1 & "'"
SQL = SQL & " WHERE CompanyID = " & ID, "DSN=contacts;UID=sa;Password=",3,2 <b>< <b>expected here</b>
I can't see what the problem is, HELP!
SQL = SQL & " SET CompanyName = '" & companyname & "', addresslineone= '" & addresslineone & "', Addesslinetwo= '" & addresslinetwo & "', citytown= '" & citytown & "', postcode= '" & postcode & "', LoB= '" & LoB & "', Business = '" & Business & "', Date1= '" & date1 & "'"
SQL = SQL & " WHERE CompanyID = " & ID, "DSN=contacts;UID=sa;Password=",3,2 <b>< <b>expected here</b>
I can't see what the problem is, HELP!