Retrieve autonumber (PK) and insert it in another table!

Hi,

"...put the procedure 'cmdAssignPins_Click' back into the module"?? Why did you do that? At the beginning of your post you say "I deleted the procedure 'cmdAssignPins_Click', ..."

If you want the 'pencil' button only, you can remove the 'cmdSave_Click' procedure of course. But you should keep the "Form_AfterInsert" procedure.

If it doesn't work, please attach your database.
 
It works perfectly right now! :)
Thank you very much StarGrabber!
I learned many things about the VBA and its concepts, still need to learn more, so I keep working on the other parts of this project.
Will come back with new questions!:cool:
 

Users who are viewing this thread

Back
Top Bottom