Question Warning Message when deleting a table

GSevensM

Registered User.
Local time
Today, 02:18
Joined
Apr 2, 2014
Messages
25
Hi,

I have a temporary table within my access database. I have a macro button that makes the table (thus deleting the old one in the process) and then appends information from three other queries to it.

I want to stop the standard warning message from coming up. The message I get is below. I have already cleared the action queries check box so the warnings for the making table (if no previous table exists) query and appending data query have disappeared. However the below message still pops up when the make table query begins to try and delete the old table. Anyone have any ideas as to how I can make it go away?

"The query you are about to run is a make-table query. Unlike most queries that displays data in Datasheet view, a make-table query creates a table and copies specific records from one or more tables and queries. If the table already exists, the query will replace the structure and contents of the table.

If your intention is to create or replace a table, click Yes. To avoid being prompted when you run such queries, click the File tab, then click Options. In the Access Options dialog box, click Client Settings. Under Editing, clear the Action queries check box.
 
Can't you set the "SetWarnings" to "No" in the macro before you run the query, remember to set it to "Yes" afterwards.
attachment.php
 

Attachments

  • Setw.jpg
    Setw.jpg
    8.2 KB · Views: 164
Thanks, didn't even know the extra Macro options were there! That worked.
 

Users who are viewing this thread

Back
Top Bottom