Hallo all,
I have a procedure (see below) that runs an Append qry (qryAppendToJobHistoryTable) from a cmd Button.
Is it possible to run another query within that procedure the name of THE QUERY is qryDeleteJobFromActive
At the same time is it possible that I can use VBmsgboxYes/No to replace the Warnings that come up with Action queries?
I don't want to stop the warnings coming up at other times, just in this situation.
Thank you in advance
Jim #-)
I have a procedure (see below) that runs an Append qry (qryAppendToJobHistoryTable) from a cmd Button.
Is it possible to run another query within that procedure the name of THE QUERY is qryDeleteJobFromActive
Code:
Private Sub cmdAppendToHistory_Click()
On Error GoTo Err_cmdAppendToHistory_Click
Dim stDocName As String
stDocName = "qryAppendToJobHistoryTable"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Exit_cmdAppendToHistory_Click:
Exit Sub
Err_cmdAppendToHistory_Click:
MsgBox Err.Description
Resume Exit_cmdAppendToHistory_Click
End Sub
At the same time is it possible that I can use VBmsgboxYes/No to replace the Warnings that come up with Action queries?
I don't want to stop the warnings coming up at other times, just in this situation.
Thank you in advance
Jim #-)