Yep, it should be there. So, go to form design view. Right click on your button, click properties. In the window that opens, click the event tab. Scroll down until you see one called on click. Click in the text box there, delete whatever's in there then click the 3 dots button which should appear to the right. Click that, then select "code builder". That opens the VBA editor, then put your code in between "..._Onclick" and "end sub" - but be sure to check the syntax of "gotorecord" in the help file.