At 11:53 AM 2005-08-23, you wrote: >In ASP.NET / VB.NET, is it possible to discover the key_id of a record just >created? Key ID column is doc_id. If you are using MySQL, I would simply use SELECT LAST_INSERT_ID() AS last_insert; Frank Marion lists at frankmarion.com Keep the signal high.