EvanL
asked on
Using IIf with Server.Encode
I've got this line:
<TD BORDERCOLOR=#c0c0c0 width="645" ><font color="#000000" face="Verdana" size="1"><%=Server.HTMLEnc ode(rs.Fie lds("ProgT itle").Val ue)%></fon t></TD>
I need to add an IIf in there that says, "if the Value of the field is Null, then make it equal to " ", else make it equal to the Value."
<TD BORDERCOLOR=#c0c0c0 width="645" ><font color="#000000" face="Verdana" size="1"><%=Server.HTMLEnc
I need to add an IIf in there that says, "if the Value of the field is Null, then make it equal to " ", else make it equal to the Value."
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the post. I'll try this tonight when I get home from work and report findings back here.
ASKER
Sorry for the delay. Had to go out-of-town unexpectedly.
This works great. Thanks for the help.
This works great. Thanks for the help.
<%if IsNull(rs.Fields("ProgTitl
But chances are, the first post is what you want.