PC Review


Reply
Thread Tools Rate Thread

disabling delete/append message

 
 
=?Utf-8?B?YWxla20=?=
Guest
Posts: n/a
 
      4th Sep 2006
Hi,
how can I disable those
"you are about to append a row..."
"you are about to delete a row..."
in Access 2003

thanx

alek_mil
 
Reply With Quote
 
 
 
 
Steve Schapel
Guest
Posts: n/a
 
      4th Sep 2006
Alek,

It depends how the action queries are being run.

If you are using a macro, you can put a SetWarnings/No action in the
macro, ahead of the first OpenQuery action.

If you are using VBA procedure, with a DoCmd.OpenQuery or DoCmd.RunSQL
method, you can put this before the code running the query...
DoCmd.SetWarnings False
In this case, it is important to put
DoCmd.SetWarnings True
at the end.

However, you can also use this in your VBA code instead...
CurrentDb.Execute "YourQuery"
.... which does not generate the confirmation messages, so no action
needed to disable them.

--
Steve Schapel, Microsoft Access MVP

alekm wrote:
> Hi,
> how can I disable those
> "you are about to append a row..."
> "you are about to delete a row..."
> in Access 2003
>
> thanx
>
> alek_mil

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Append and Delete Michelle Microsoft Access VBA Modules 1 11th Apr 2008 07:54 PM
Append and Delete via VBA =?Utf-8?B?RWQgQmxvb20=?= Microsoft Access VBA Modules 3 15th Mar 2006 04:56 PM
Append & Delete =?Utf-8?B?Sm9obkM=?= Microsoft Access Queries 3 13th Jan 2005 02:09 PM
Disabling Delete Casey Windows XP General 1 27th Jul 2004 03:50 PM
Append and delete Ohio5 Microsoft Access Queries 1 14th Apr 2004 05:32 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:10 AM.