Hi all,
I know from prior posts that you people know just what to say to help a brother out, so here goes:
What I want to do is just what the subject says, and here's what I've got that doesn't work:
The problem is with the code in red. What I want is, if the field "nfldFDimHeight" is null, then don't display anything until the next Response.Write.
Thanks for your help!
I know from prior posts that you people know just what to say to help a brother out, so here goes:
What I want to do is just what the subject says, and here's what I've got that doesn't work:
Code:
<%
[COLOR=green]'...[i]all this code in green works great[/i]
blah blah blah blah
Response.Write("<TABLE Align='left' BORDER='0' CELLPADDING='20' CELLSPACING='2'><TBODY><TR><TD style='vertical-align:top'><FONT FACE=""ARIAL"" SIZE=""2"">" & rs("MyFieldName") & "<br>" & rs("MyFieldName2")) [/color]
[COLOR=red]If Not rs.EOF Or Not rs.BOF Then
If Not IsNull rs("nfldFDimHeight") Then
Response.Write("<br>   framed " & rs("nfldFDimHeight") & " x " & rs("nfldFDimWidth") & " x " & rs("nfldFDimDepth") & " cm")
End If
End If[/color]
[COLOR=green] Response.Write("<br>   ...more stuff here...</font></TD>")[/color]
%>
The problem is with the code in red. What I want is, if the field "nfldFDimHeight" is null, then don't display anything until the next Response.Write.
Thanks for your help!