How can I get the key of the last inserted record at mensia ? Right after mnesia:write I need to know the key. I think could construct something with mnesia:match_object() to retrieve that key, but there must must be something smarter and with less overhead to get that key ! regards -- Roberto Saccon