Hmm, sorry: next_id=container.next_id()[0] #1 container.insert_details1(fg_key=next_id) #2 container.insert_details2(fg_key=next_id) -- Europe now without walls - who needs Gates? http://latz.linsze.hu