Hmmm.... that code works fine to create it, but now how do I check for it and stop it from creating if it already exists.

If it was always the same number I could check for it, but since it can be in any number value

1 software
2 custom
3 hardware
4 mystuff
etc... how can I enum and check for say hardware, and not create another value if it exists?

[ 30. August 2002, 04:34: Message edited by: NTDOC ]