It seems as if you had a statement in SQL with the following where clause, you could save a lot of code instead of looping and comparing values outside of the SQL:
" WHERE Quantity=Warning_Quantity"
thines01
Postaholic
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402