Ver Mensaje Individual
  #10 (permalink)  
Antiguo 27/03/2006, 14:27
Avatar de a n g e l u s
a n g e l u s
 
Fecha de Ingreso: enero-2006
Ubicación: Chile
Mensajes: 237
Antigüedad: 19 años, 3 meses
Puntos: 1
Cita:
Iniciado por custo
el tema es que hago inserts, borro datos, y todo me lo hace bien, pero luego en el fichero *.mdb no estan los cambios.

Ejemplo del insert:

<%
nom=Request.Form("nom")
telefon= Request.Form("telefon")

'Instanciamos y abrimos nuestro objeto conexion
set conn=Server.CreateObject("ADODB.Connection")
' Conexión por DBQ
conn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("basededatos.mdb")

sSQL="Insert Into Clients (nom,telefon) values ('" & nom & "','" & telefon & "')"

'AGREGA ESTO A TU CODIGO PARA VER EL ERROR QUE PUEDAS TENER
ON ERROR RESUME NEXT

set RS = Conn.Execute(sSQL)

'Y ESTO PARA VISUALIZAR EN PANTALLA SI ES QUE HAY UN ERROR
if err <> 0 then
response.write "<h2><b>"&err.description&"</b></h2>"
end if

%>
__________________
Atte,
A n g e l u s
Concepción - Chile
más vale respuestas bien pensadas, que 7000 post