What I did...
After I made the recordset, named orgcode, I needed I did the following:
1. Open Server Behaviors
2. clicked on the plus
3. added WA Validation Toolkit
4. Validation Trigger = Any form post
5. Validation type = number
6. $totalRows_orgcode
7. click the large plus button
8. format: English
9. minimum = -1
10. maximun = 0
11. allow decimals = all
12. uncheck blank entry
should work fine...
good luck!