Guardar 2 registros al mismo tiempo
Publicado por Santiago Martin (2 intervenciones) el 06/04/2005 18:34:16
'Ahora creamos la primera sentencia SQL
sSQL1="Insert Into clientes (nombre,telefono) values ('" & nombre & "','" & telefono & "')"
'Ejecutamos la orden 1
set RS = Conn.Execute(sSQL1)
'Ahora creamos la segunda sentencia SQL
sSQL2="Insert Into usuarios (nombre,telefono) values ('" & nombre & "','" & telefono & "')"
'Ejecutamos la orden 2
set RS = Conn.Execute(sSQL2)
Salu2
Santi M
Valora esta pregunta
0