>
>I was thinking along these lines as well, but we have to explicitly lock the whole table before appending a record and retriving info. Otherwise there is a small chance to get the wrong ID.
Nadya,
Why do you say that?
< UPDATE >
If you are trying to get the *next* key that will be assigned, I see the problem...
Steve Gibson