hi all, i design a command button for add new record in a form, now how can i assign command button to "F2" keyboard, in the other words when i press "F2' from keyboard run Command248 :
Private Sub Command248_Click()
DoCmd.GoToRecord , , acNewRec
End Sub
thanks in advanced (sorry for my poor english)