gheyman
Well-known Member
- Joined
- Nov 14, 2005
- Messages
- 2,347
- Office Version
- 365
- Platform
- Windows
How do I stop the messages that come with the make table and append table queries? I thought it was SetWarnings = False
I tried different places with no luck - the code errors
I tried different places with no luck - the code errors
Code:
Private Sub Form_Load()
'open home page
On Error GoTo Form_Load_Err
DoCmd.OpenQuery "qry_1a_Find_New_QuoteNumbers", acViewNormal, acEdit
' DoCmd.SetWarnings = False
DoCmd.Close acQuery, "qry_1a_Find_New_QuoteNumbers"
DoCmd.OpenQuery "qry_1b_ppend_New_Quotes", acViewNormal, acEdit
DoCmd.Close acQuery, "qry_1b_ppend_New_Quotes"
Form_Load_Exit:
Exit Sub
Form_Load_Err:
MsgBox Error$
Resume Form_Load_Exit
End Sub