Share via

Passthrough query: how to avoid warning

Anonymous
2010-09-21T23:41:14+00:00

When I launch a pass-through, I get a dialog box that says:

"You are about to run a pass-through query that may modify data in your table..."

Supposedly, I can hit HELP to find out how to disable this message, but hitting HELP just brings me to the generic Office help front page, and I can not find any keywords to discover the secret.

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2010-09-22T19:11:35+00:00

On Wed, 22 Sep 2010 18:16:50 +0000, Phil Smith at NHS wrote:

>

>In this case, this is about manually launching the query.  No forms, no code, just doule clicking on the query form the list.

You can use DoCmd.SetWarnings False in a little VBA procedure or just

type it into the Immediate Window (Ctrl-G).  This turns off warnings

in all of Access for this session - remember to turn it back on when

you're done.

Armen Stein

Microsoft Access MVP

www.JStreetTech.com

Was this answer helpful?

0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2010-09-22T18:16:50+00:00

    In this case, this is about manually launching the query.  No forms, no code, just doule clicking on the query form the list.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2010-09-22T01:53:10+00:00

    As noted in the other thread, the Execute method may be better for what you want - it doesn't prompt:

    CurrentDb.Execute "MyQueryName", dbFailOnError


    John W. Vinson/MVP

    Was this answer helpful?

    0 comments No comments