Access: Stop the popup messages

gheyman

Well-known Member
Joined
Nov 14, 2005
Messages
2,347
Office Version
  1. 365
Platform
  1. 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

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
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Thanks. So it was the equal sign that screwed up. I had it first at one point.

Thank You
 
Upvote 0
Yeah, in bouncing back and forth between Excel and Access, I often also sometimes confuse DisplayAlerts with SetWarnings and equals sign or no no equals sign.
 
Upvote 0

Forum statistics

Threads
1,224,749
Messages
6,180,725
Members
452,995
Latest member
isldboy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top