One database field is never empty as I have a text editor that inputs <P> </P> even if I dont actually put any text. I need to check with an if statement if the field has either <P> </P> and "<br>" & vbCrLf
and if so write, no data availabel and if not write the field text.
I have this but it doesnt seem to do the trick
Expand|Select|Wrap|Line Numbers
- <%
- If Trim(PDFavQuote) = "" OR Trim(PDFavQuote) = "<P> </P>" OR (strPDFavQuote) = "<br>" OR (strPDFavQuote) = "<br>" & vbCrLf Then
- %>
- nothing available
- <%
- Else
- %>
- <br><h2>statement</h2><%=rs("PDFavQuote")%>
- <%
- End If
- %>
Thanks
Richard