>Hi group.
>
>I have a DataBase that uses a Stored Procedure to generate automatic and sequenced id's for my tables. To do this, I have to RLOCK() a table that contains the codes I need to generate.
>
>However, I can't RLOCK the table, even using the PRG as LOCAL.
>
>Am I wrong, or there's something strange in here?
>
>TIA
What you are attempting is a very common method used to generate sequenced key values. You obviously have the record you are trying to RLOCK() already locked.
Are you able to put some of your code up so that the cause might be found ?
Cheers,
Jamie
Cheers,
Jamie