<% If Request.Form <> "" Then Dim C_SQL, V_Notas, s_Autos, s_Tema, s_Fecha, s_Juzgado Dim DB, TBL Set DB = Server.CreateObject("ADODB.Connection") Set TBL = Server.CreateObject("ADODB.RecordSet") DB.Mode = adModeReadWrite DB.Open ("PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" + Server.MapPath("Fallos.mdb")) s_Autos = Request.Form("t_Autos") s_Tema = Request.Form("t_Tema") s_Fecha = Request.Form("F_Dia") & "/" & Request.Form("F_Mes") & "/" & Request.Form("F_Anio") s_Juzgado = Request.Form("Sel_Juzgado") C_SQL = "SELECT * FROM Fallos_Autos WHERE Auto LIKE '%" & s_Autos & "%' and Juzgado LIKE '%" & s_Juzgado & "%' and Fecha LIKE '%" & s_Fecha & "' and Tipo <> 2 ORDER BY Fallos_Autos.Auto" TBL.Open C_SQL ,DB Response.Write( "' ") While NOT TBL.EOF Response.Write("") Response.Write("") TBL.MoveNext Wend TBL.Close DB.Close Set DB = Nothing Set TBL = Nothing Else %> <% end if %>

Fecha

Juzgado

Fallo

KB
" & TBL("Fecha") & "
" & TBL("Juzgado") & "
" & TBL("Auto") &"
" & TBL("Peso") & "
     
  Fecha
Ej. 2/Marzo / 2003
/ /  
Juzgado
Ej. C.A Nº 1 La Plata
") TBL.Close DB.Close Set DB = Nothing Set TBL = Nothing %>
Auto
Ej. Ledesma
Tema
Nota:. próximamente...