-
conditional display of images/links
downloaded aspDbFree this aft - awesome!
is it possible to test for a null value in a fld and then display (or not) an image/link within the grid?
i'm doing this now (the hard way) using . .
'previously established recordset rstemp()
'rstemp(0) is first column
'if it is null then i display a "blank" image,
'otherwise i display an icon with a ref to some script
<%do while not rstemp.eof %>
<tr>
<% if isnull(rstemp(0)) then %>
<td><img src="blank.gif"</td>
<% else %>
<td><a href="javascript:show('<%=rstemp(0)%>'"><img src="plan.gif"</td>
<% end if %>
<%next%>
if this is possible using aspDB, which version would be appropriate?
-
conditional display of images/links (reply)
Check out the following. Note that some of the capabilities are not available with the Free version.
http://www.kingkwong.com/htmldoc/dbMagicCell.shtm
Frank
------------
John Murray at 12/21/99 9:30:32 PM
downloaded aspDbFree this aft - awesome!
is it possible to test for a null value in a fld and then display (or not) an image/link within the grid?
i'm doing this now (the hard way) using . .
'previously established recordset rstemp()
'rstemp(0) is first column
'if it is null then i display a "blank" image,
'otherwise i display an icon with a ref to some script
<%do while not rstemp.eof %>
<tr>
<% if isnull(rstemp(0)) then %>
<td><img src="blank.gif"</td>
<% else %>
<td><a href="javascript:show('<%=rstemp(0)%>'"><img src="plan.gif"</td>
<% end if %>
<%next%>
if this is possible using aspDB, which version would be appropriate?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|