Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/01/2004, 18:08
Avatar de jorel
jorel
 
Fecha de Ingreso: abril-2003
Ubicación: Monterrey, N.L.
Mensajes: 253
Antigüedad: 22 años, 1 mes
Puntos: 0
y si te vas al ultimo registro capturado

strsql = "SELECT Last(id) AS UltimoReg from llamadas"
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ="&Server.MapPath("tubd.mdb")
Set RS = Server.CreateObject("ADODB.Recordset")
RS.Open strSQL, oConn,3,1

ultimo = RS("UltimoReg")


y ya en otra pagina haces un request de ese identificador autonumerico

id = Request.Form("ultimo")


y haces que triaga todos los campos de ese id

sql = "SELECT * FROM llamadas WHERE id = '"&id&"' "
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ="&Server.MapPath("tubd.mdb")
Set RS = Server.CreateObject("ADODB.Recordset")
RS.Open sql, oConn

si?
__________________

:adios:

Jorge Santana