There are plenty of off-the-shelf inventory control products that can do this better and cheaper than writing something yourself. If your requirements are simple there is bound to be some freeware available.
ChrisPadgham 113 Posting Whiz
ChrisPadgham 113 Posting Whiz