P,
One way to do this, different from your suggestion, but I imagine
serve the purpose... On the Before Insert event of the form where the
inactive people are getting entered, or on the Click of a command
button, or some other appropriate event, code something like this
(assuming the example I mentioned before, with the letter prefix)
Me.ID = "X" & DMax("Mid([ID],2)","YourTableName") + 1
... or, depending on circumstances, you may need this...
Me.ID = "X" & DMax("Mid([ID],2)","YourTableName","[ID] Like 'X*'") + 1
- Steve Schapel, Microsoft Access MVP
>Thank you for your responses! The idea of generating the
>temporary ID sounds good to me. My question now is could
[quoted text clipped - 60 lines]
>>
>>.