| | |
|
|
|
Conditional region |
| message from Zwi2000 on 22 Jul 2004 |
I have the following script that will display an image if the value of a
field in the database is = ''
I need to change it to display it if the value is NULL
<% if (StepsHistory.Fields.Item("LastModified").Value == ('')) { //
script %>
<a href="SetstartedSP.asp"><img src="../../../Images/greenarrow.gif"
width="12" height="11" border="0"></a>
<% } // if (StepsHistory.Fields.Item("LastModified").Value == (''))
script %>
How can I change it from '' to NULL ? .. I tried:
<% if (StepsHistory.Fields.Item("LastModified").Value == ()) { // script %>
<% if (StepsHistory.Fields.Item("LastModified").Value == (NULL)) { // script
%>
<% if (StepsHistory.Fields.Item("LastModified").Value == ('NULL')) { //
script %>
Non work ... I know its obvious I dont know how to write script, sorry is
not my strong side, I could use some help.
Z
|
|
Archived message: Conditional region (Macromedia Dreamweaver)