Ver Mensaje Individual
  #1  
Antiguo 26-06-2010
omitraz omitraz is offline
Miembro
 
Registrado: jun 2010
Posts: 18
Reputación: 0
omitraz Va por buen camino
Question Borrar un registro de mi bd en asp con RS

Buenas tardes, no se donde colocar mi consulta, espero que en este tema sea el lugar apropiado.

Utilizo asp, bd firebird con ibexpert, al intentar eliminar el registro no me muestra ingun error, simplemente no borra el registro, el codigo es el siguiente:

Código:
<%Dim Conex,sSQL,RS
        USUARIO=Request.Form("USUARIO")
        Set Conex = Server.CreateObject("ADODB.Connection")
        Set RS= Server.CreateObject("ADODB.Recordset")
        Conex.open "Driver=Firebird/InterBase(r)     driver;Uid=sysdba;Pwd=masterkey;DbName=127.0.0.1:C:\PRUEBA\RADIO.FDB;"  
        sSQL="Delete From LOCUTOR Where USUARIO='&USUARIO&'"
        set RS=Conex.execute(sSQL)%>

Mi tabla es LOCUTOR y mi registro es Usuario el cual es la llave primaria, agradeseria cual quier comentario, por su atencion gracias.
Responder Con Cita