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) & " is over by " & diff & " on day " & day_counter) & "<br>"
end if
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) & " is over by " & diff & " on day " & day_counter) & "<br>"
end if