Solved

remove  worning messeges

Posted on 1998-09-15
4
298 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

830 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