Author and ninkuma
posted 12 years ago
from other threads, I'm assuming your using MSAccess. The 'Sequence' functionality Bear mentioned above can also be accomplished in MSAccess. Just set the column you want as the primary key's data type to 'AutoNumber'. As an autonumber field, you never insert or update values in it. Access does everything for you.