G
Guest
I need to run several (32) Append Queries to build one table. How would I do
this with Visual Basic and one "Command Button'? I know how to do it once:
Private Sub Append_Button_Click()
On Error GoTo Err_Append_Button_Click
Dim stDocName As String
stDocName = "Append Query-1"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Exit_Append_Button_Click:
Exit Sub
Err_Append_Button_Click:
MsgBox Err.Description
Resume Exit_Append_Button_Click
End Sub
but how do I add the 31 other append queries I have, so with one touch of
the button, it executes all of them?
this with Visual Basic and one "Command Button'? I know how to do it once:
Private Sub Append_Button_Click()
On Error GoTo Err_Append_Button_Click
Dim stDocName As String
stDocName = "Append Query-1"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Exit_Append_Button_Click:
Exit Sub
Err_Append_Button_Click:
MsgBox Err.Description
Resume Exit_Append_Button_Click
End Sub
but how do I add the 31 other append queries I have, so with one touch of
the button, it executes all of them?