Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simple comparison not working

Status
Not open for further replies.

cleavitt

Programmer
Jun 25, 2002
3
CA
Hi,

This little piece of code is causing me a lot of grief, can anyone tell me why it isn't firing? (I checked that there are values that would cause it too)

'if the total is over the daily capacity (all values are integers)

if total_tons(colno,day_counter) > daily_cap(colno) then
diff = total_tons(colno,day_counter) - daily_cap(colno)response.write(category(colno) & &quot; is over by &quot; & diff & &quot; on day &quot; & day_counter) & &quot;<br>&quot;
end if
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top