Solved

remove  worning messeges

Posted on 1998-09-15
4
294 Views
Last Modified: 2008-03-06
i made a query (in code) that deletes some records. when i activate it (by button) worning messeges are shown.
can i remove them? can i change the text that's written in those messages?
0
Comment
Question by:rzvika1
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
Helicopter earned 10 total points
ID: 1962329
before you activate the query in your code put:
docmd.setwarnings false

then immediately after put:

docmd.setwarnings true
0
 

Author Comment

by:rzvika1
ID: 1962330
what about editing the warning text?
0
 
LVL 1

Expert Comment

by:mikkon
ID: 1962331
Do you mean the "This query will modify..." type of messages? If so, you can remove them by unchecking relevant check-boxes in the Options dialog, on the Edit/Find tab (Confirm Action queries).

Of course, you probably want to do this in code:
SetObject ("Confirm Action Queries", False);

You can not change the messages.

0
 

Author Comment

by:rzvika1
ID: 1962332
thank you
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now