B
Bill (Unique as my name)
I need code statements that save me two agonizing, finger wrenching
clicks on the mouse to execute the query.
Thank you all so much.
Private Sub Command0_Click()
On Error GoTo Err_Command0_Click
Dim stDocName As String
stDocName = "qgas3" 'The name of the Make Table Query
DoCmd.OpenQuery stDocName, acNormal, acEdit
' Something here that gets me past the messages notifying me that
it is deleting
' all the records in the table and that it is pasting new records
in the table.
' Oh, by the way, did you know you're one of the most wonderful
persons in the world?
Exit_Command0_Click:
Exit Sub
Err_Command0_Click:
MsgBox Err.Description
Resume Exit_Command0_Click
End Sub
clicks on the mouse to execute the query.
Thank you all so much.
Private Sub Command0_Click()
On Error GoTo Err_Command0_Click
Dim stDocName As String
stDocName = "qgas3" 'The name of the Make Table Query
DoCmd.OpenQuery stDocName, acNormal, acEdit
' Something here that gets me past the messages notifying me that
it is deleting
' all the records in the table and that it is pasting new records
in the table.
' Oh, by the way, did you know you're one of the most wonderful
persons in the world?
Exit_Command0_Click:
Exit Sub
Err_Command0_Click:
MsgBox Err.Description
Resume Exit_Command0_Click
End Sub