R
Raphael Gluck
Hi
I'm fairly new to coding in asp and i'm trying to create a simple if..
else... condition
It's for asp web page, and is linked to my database, but i figured since
it's a basic question, it would belong in the General newsgroup.
All i am trying to, is, on my web page I have a table cell, that feeds off
my database.
If there's something in the database in that particular field, then I want
it to be displayed, If not, then rather the cell return a blank field, I
want a picture from another field.
<%
if rsSublisting("Specific_imagelrg") > "" then
%>
<%=rsSublisting("Specific_imagelrg")%>
<% end if %>
I've tried without luck to include an Else field, i.e if there is not
content in the above field, i want to display a different field, called
("Img_lrg")
How do i ammend the script?
Thanks
Raphael
I'm fairly new to coding in asp and i'm trying to create a simple if..
else... condition
It's for asp web page, and is linked to my database, but i figured since
it's a basic question, it would belong in the General newsgroup.
All i am trying to, is, on my web page I have a table cell, that feeds off
my database.
If there's something in the database in that particular field, then I want
it to be displayed, If not, then rather the cell return a blank field, I
want a picture from another field.
<%
if rsSublisting("Specific_imagelrg") > "" then
%>
<%=rsSublisting("Specific_imagelrg")%>
<% end if %>
I've tried without luck to include an Else field, i.e if there is not
content in the above field, i want to display a different field, called
("Img_lrg")
How do i ammend the script?
Thanks
Raphael