Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/01/2002, 19:24
Avatar de urjose
urjose
 
Fecha de Ingreso: diciembre-2001
Mensajes: 5.286
Antigüedad: 23 años, 4 meses
Puntos: 1
Re: rs.recordCount y DSN less

Set oConn = Server.CreateObject("ADODB.Connection")
Set oConn1 = Server.CreateObject("ADODB.Connection")
oConn.Open("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & "gratis.mdb;" )

sSQL = "SELECT *,a.Fecha AS Fecha, b.NumAnuncios AS NumAnuncios FROM ClasificadosG a, Usuarios b Where a.Vendedor='"&IdUsuario&"' AND b.Nombre='"&IdUsuario&"'"

Set oRS =Server.CreateObject("ADODB.Recordset")
oRs.Open sSQL, oConn, adOpenStatic , adCmdTable
Variables=oRs.RecordCount

<embed src="http://www.autocar.com.mx/images/logo.swf" type="application/x-shockwave-flash" width="468" height="60" play="true" wmode="transparent" menu="false" loop="true">