Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Client Settings.

Client Settings.

Client Settings.

Is there a way to disable the Client Settings "Confirm" for the queries? I have multiple users and I have to do this manually for each time a new user logs into a windows machine. It would be nice I I could do this once per machine and all three check boxes are disabled for all users.

Thanks for your assistance!

Replies continue below

Recommended for you

RE: Client Settings.

You may do it in your code:


DoCmd.SetWarnings False

' Do something here
strSQL = "DELETE * FROM customers"
DoCmd.RunSQL strSQL

DoCmd.SetWarnings True 

---- Andy

"Hmm...they have the internet on computers now"--Homer Simpson

RE: Client Settings.

I prefer this methodology in general to Andy's...

Turning 'SetWarnings' on and off will suppress all errors from being seen. Which is ok for static queries and you could use docmd.openquery to open a saved query too.

But if you were building your SQL statement programmatically... Then the execute method will throw an error if your query doesn't run or even if the backend is corrupt...


DIM db as DAO.Database 'requires a reference to  DAO/ Data Access Objects

set db = currentdb()

strSQL = "DELETE * FROM customers"
db.execute strSQL, dbFailOnError 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close