I have an orders table with an autonumber key. I insert the orders data into the table and get the autonumber as its key. I need to get that key right after the insert though in order to use for reference and run inserts on my orders detail table. I am not sure how i can do this. Any info or suggestions would be great. Thanks