Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/06/2002, 21:17
rashid
 
Fecha de Ingreso: enero-2002
Ubicación: Perez Zeledon Costa Rica
Mensajes: 1.009
Antigüedad: 23 años, 5 meses
Puntos: 11
pOR QUE No funciona?

Hola Gente.
El problem es que un script me debe halar informacion de un campo en la BD pero no hala nada. El filtro es el siguiente:
FSQL = ""
FSQL = FSQL & "SELECT * FROM Fotos WHERE ItemID = " & SQLVal(iID)
Set Frs = GobjConnect.Execute(FSQL)


y la info debe ser desplegada por este codigo:
<%
If rs.Fields("Fill_Form_pay")=true then
If LEN(TRIM(Frs.Fields("Comment"))) <> 0 Then
Response.Write("<CENTER>"& Frs.Fields("Comment") & "</CENTER>")

' Response.Write("<TR><TD colspan=3><CENTER>"& Frs.Fields("Comment") & "></CENTER></TD></TR>")
Else
Response.write "No Comments available."
End If
Else
Response.write "No Comments available."
End If
%>

El campo Comment existe y esta lleno, aún asi no me aparece ningun texto en la respuesta.
Alguna Idea?
:(