Hello to all, I have the following code that consults a data base SQL
server:
SET CONN = Server.CreateObject("ADODB.Connection")
CONN.Open application("StrConApp")
Set R = conn.Execute("select * from usuarios order by cargo")
strSQLs = "select
Venta,Margen,Abrasion,Steel,AcEsp,KAB,SIndustrial, Cables,FerroL,Emsesa,VtaEstrategiaUS,Recomendacion _sacateun7,VtaCtesDllo,CtesNuevos,VtaPref,NPref,PC T,NServicio
from dbo.Metas where RUT='"&rtrim(R("rut"))&"'"
response.Write(strSQLs)
'response.End()
set T = conn.execute(strSQL)
and it throws the following error to me:
Tipo de error:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E0C)
Any text of commando for the commando object did not settle down.
Any aid would be pleasant.
Thanks