HELP!!! Simple AND Question

Results 1 to 2 of 2

Thread: HELP!!! Simple AND Question

  1. #1
    Marsha Guest

    Default HELP!!! Simple AND Question

    I have a number total that is going to be between 5 and 25, and I wan tto essentailly break that number out into 3 levels 5-9,10-19, & 20-25. The values of this numbers will determine whether the words Low, Average, or High will be written to the screen. I&#039;ve tried using the AND statement, but I still get an error. here is my code:<BR>&#060;%<BR>If STotal &#060;= 9 Then Response.Write("Low")<BR>If STotal &#062;= 10 AND &#060; 20 Then Response.Write("Average")<BR>If STotal &#062;= 20 Then Response.Write("High") <BR>End If%&#062;<BR><BR>Thanks in advance!!!

  2. #2
    Join Date
    Dec 1969

    Default RE: HELP!!! Simple AND Question

    just use<BR>If STotal &#062;= 10 AND STotal &#060; 20 <BR>Then Response.Write("Average") <BR>rather than ur statement<BR>Pallavi<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts