I don't see what locking the table header will give you.
>> The record pointer should be at the record just inserted, so you should be able to do
>> liNewId = Alias.KeyField
>
>Now that I am managing to lock the table header this is what I'm going to do.
>
>Thanks
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer