Access looks for Confirmation (1 Viewer)

sathsaj

Registered User.
Local time
Yesterday, 20:27
Joined
Sep 19, 2017
Messages
24
Hi All,

Access looks for confirmation to delete existing data before a query is run. This is a Maketable Query. the Action Queries under Client Setting is unchecked. But still why do we get this message ?

Is there a way were can get this away ?
 

isladogs

MVP / VIP
Local time
Today, 04:27
Joined
Jan 14, 2017
Messages
18,212
If you switch off SetWarnings there is a risk that errors will occur without your knowledge.

As JHB mentioned, the alternative approach is to use CurrentDB.Execute but you should include the argument dbFailOnError so a message appears if a problem occurs
 

sathsaj

Registered User.
Local time
Yesterday, 20:27
Joined
Sep 19, 2017
Messages
24
unfortunately Iam not familiar with VBA
 

JHB

Have been here a while
Local time
Today, 05:27
Joined
Jun 17, 2012
Messages
7,732
How do you run/open the query now?
 

sathsaj

Registered User.
Local time
Yesterday, 20:27
Joined
Sep 19, 2017
Messages
24
I have a macro which is provided by access
 

Users who are viewing this thread

Top Bottom