Re: Weird ASP Error
From: Peter Foti (peter_at_Idontwantnostinkingemailfromyou.com)
Date: 03/15/04
- Next message: rwg: "RE: Session Variables..."
- Previous message: William Morris: "Re: How do I get independent ASP jobs?"
- In reply to: HelLind: "Weird ASP Error"
- Next in thread: anonymous_at_discussions.microsoft.com: "Re: Weird ASP Error"
- Reply: anonymous_at_discussions.microsoft.com: "Re: Weird ASP Error"
- Reply: HelLind: "Re: Weird ASP Error"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 15 Mar 2004 13:35:52 -0500
"HelLind" <u8712123@cc.nctu.edu.tw> wrote in message
news:9a6fe908.0403150957.5fc340fe@posting.google.com...
> Hello people,
>
> I am having a weird error and don't know what term to search in
> google. Sorry to bother.
>
> There is data in my field "M_BIO"
>
> When I run this code <%=rslist.Fields.Item("M_bio").Value%>, it
> displays the data, no problem.
>
> When I used this code:
> <% If rslist.Fields.Item("M_bio").Value <> "" then
> response.Write("Testing")
> End If %>
>
> It displays 'testing', no probs.
> But when I run this code:
>
> <% If rslist.Fields.Item("M_bio").Value <> "" then
> response.Write(rslist.Fields.Item("M_Bio").Value)
> End IF %>
>
> It displays nothing, the page shows no error. Does anyone know the
> reason.
I suspect it has a NULL value? Perhaps try this instead:
<% If Len(rslist.Fields.Item("M_bio").Value) > 0 Then
Response.Write("Testing")
End If
%>
Regards,
Peter Foti
- Next message: rwg: "RE: Session Variables..."
- Previous message: William Morris: "Re: How do I get independent ASP jobs?"
- In reply to: HelLind: "Weird ASP Error"
- Next in thread: anonymous_at_discussions.microsoft.com: "Re: Weird ASP Error"
- Reply: anonymous_at_discussions.microsoft.com: "Re: Weird ASP Error"
- Reply: HelLind: "Re: Weird ASP Error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|