Hi,
falls du mit PHP arbeitest gibts die Funktion mysql_insert_id.
Die Datenbank selber gibt darüber ebenfalls Auskunft, MySQL z.B. über LAST_INSERT_ID
MfG
Rouven
--
-------------------
When the only tool you've got is a hammer, all problems start to look like nails.
-------------------
When the only tool you've got is a hammer, all problems start to look like nails.