for #1. create a bound form. You don't need any codes to save the record.
< Now, in Access 2007, it only creates a macro, but I need the VBA code>
Office button >access options > object designers > form/report design
check always use event procedures
#2 . you can open the next form with the openArgs option to pass the AutoNumID
docmd.openform "formX", openargs:=me.AutoNumID
in the load event of formX, place this code
private sub form_load()
if len(me.openargs & "")>0 then
me.txtForeignKey=me.openargs
end if
end sub