I'm trying to run an IF statement to check to only display the "list price" field if it is populated.
I have the following code:
<% if not isNull ds("listprice") then %>
<p><strong>List Price: </strong>$<%=listprice%></p>
<% else %>
But I get the following error on the page:
Microsoft VBScript compilation error '800a03f9'
/product_details.asp, line 214
if not isNull ds("listprice") then
I want to display the List Price detail if there is a value, otherwise, don't display the Label or the field if it's Null.