Ver Mensaje Individual
  #8 (permalink)  
Antiguo 11/04/2005, 12:40
Avatar de Neuron_376
Neuron_376
 
Fecha de Ingreso: abril-2005
Mensajes: 1.051
Antigüedad: 20 años, 1 mes
Puntos: 2
Regresando al tema:

cokete... mire esto en tu codigo...

Mira, si el interprete lee esto bien:

Enviada = 'False' >>> si eso es correcto, entonces el unico cambio seria:

strEnviada="False"
SQL="UPDATE Noticias SET Fecha=#" & Day(strFecha) &"/" & Month(strFecha) &"/" & Year(strFecha) &" " & FormatDateTime(strFecha,vbShortTime) &"#, Titular='" & strTitular &"', Cuerpo='" & strCuerpo &"', PieNoticia='" & strPieFoto &"', Enviada='" & strEnviada & "'"

SQL=SQL & " WHERE CodNoticia=" & Request.Form("codnoticia") & ";"
Conn.Execute SQL


Si el interprete lee esto bien:

Enviada = False >>> si eso es correcto, entonces el unico cambio seria:

strEnviada="False"
SQL="UPDATE Noticias SET Fecha=#" & Day(strFecha) &"/" & Month(strFecha) &"/" & Year(strFecha) &" " & FormatDateTime(strFecha,vbShortTime) &"#, Titular='" & strTitular &"', Cuerpo='" & strCuerpo &"', PieNoticia='" & strPieFoto &"', Enviada=" & strEnviada

SQL=SQL & " WHERE CodNoticia=" & Request.Form("codnoticia") & ";"
Conn.Execute SQL

Si te fijas, todo es basado en el interprete, de como funciona el, entonces tu debes crear la cadena exactamente como el interprete la entiendo correctamente.

Suerte.

Última edición por Neuron_376; 11/04/2005 a las 12:44