Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

If no url in db NOT add link to text in html - help

0 views
Skip to first unread message

jbwe...@aol.com

unread,
Apr 29, 2008, 4:41:28 PM4/29/08
to
Could some kind soul tell me why this doesn't work:
"EventURL" either contains a real url or is null or blank
without this code working to select only the Eventurl that HAVE a Url
it generates the url to be the web address up to this point . . .
http://www.domain.com/folder which certainy doesn't work!


<% If (Events.Fields.Item("EventURL").Value > "")
Then
%>
<a href="<%=(Events.Fields.Item("EventURL").Value)%>"
target="_blank">
<%=(Events.Fields.Item("EventTitle").Value)%></a>
<% Else %>
<a><%=(Events.Fields.Item("EventTitle").Value)%></a>
<% End If %>

I am out of ideas.

THANK YOU!!!

0 new messages