All I need is to compare a given number vs a fixed number, and if it true, return one paragraph and if not true, return an alternative paragraph. I have no ASP experience, and minimal html skill.
I have a changing dollar figure in a database field called [now list]; and this field has been formatted as currency.
I want the page to evaluate whether or not [now list] is > or < 5 (or 10, or 20 or any numeral); but for now let's just evaluate against the number 5.
I turn my webpage into html code that I can edit. I tried this:
IF [now list]<5,
then "write this big paragraph which may or may not include lots of html links"
else "write different paragraph I can make up to suit me."
ENDIF
If [now list] < 5, THEN write big, ELSE write different.
I have the idea that this code will go on the page in the place where I want the paragraph to show up, regardless of which paragraph gets picked? Right? When I tested the page, it shows the IF statement written out, not the result of the analysis I'd hoped for.
Please help me. For my benefit, please pretend I am a bright 7-yr old kid; even though I am 57. Thanks in advance.