Ok, so this should point you in the correct direction
if you create a Button and view properties,
go to Event >> OnClick
and Enter "CODE"
Look through the following and paste it in:
I warn you that I am less than 2 weeks into access and VBA
but I am sure something like this can help you
you...