Be very careful using the method you mention and what you are trying to accomplish. In a multi-user environment as you can have two users getting the same number. If your application is multi-user then you need to create a separate table to store
the current maximum number. If the auto number is just serving as counter, reseed it.
Jaime E. Maccou
Applications Analyst
mailto:
[email protected]
"Our lives begin to end the day we become silent about things that matter."
- Dr. Martin Luther King, Jr.
"The mind does not take its complexion from the skin..."
- Frederick Douglass
There is always a way to do it better . . . find it!" Thomas A. Edison