Use the command button wizard to create a button that executes a query. If your command button is named command0 and your update query is named Query2, it will add code to the OnClick property of the button like this:
Private Sub Command0_Click()
On Error GoTo Err_Command0_Click
Dim stDocName As String
stDocName = "Query2"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Exit_Command0_Click:
Exit Sub
Err_Command0_Click:
MsgBox Err.Description
Resume Exit_Command0_Click
End Sub
Hope this helps...
jjones@cybrtyme.com