T
Topher
I need to insert a new record in a table. Each record has a column with
a value between 0 and 255. When I insert the new record, it needs to
have a number that does not match any of the numbers in and existing
records. In other words, I need to find the first number that does not
already exist in the table. If the records had numbers 1,2,4,5,6 and 7,
then the new record would need to have the number 3 in this field. How
can I find the first number that does not exist?
a value between 0 and 255. When I insert the new record, it needs to
have a number that does not match any of the numbers in and existing
records. In other words, I need to find the first number that does not
already exist in the table. If the records had numbers 1,2,4,5,6 and 7,
then the new record would need to have the number 3 in this field. How
can I find the first number that does not exist?