Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable table update warning? 1

Status
Not open for further replies.

bravo6

IS-IT--Management
Mar 23, 2006
83
US
Is there a way to disable the warnings when running a make-table query? I'm referring to:
"You are about to run a make-table query which will modiy date in your table"
AND
"The existing table (table name) will be deleted....."

Thanks!!
 
You can run code before and after your action query like:
Code:
DoCmd.SetWarnings False
DoCmd.RunSQL "Delete * from tblTemp"
DoCmd.SetWarnings True


Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
In Access 2003, from the menu

Tools/ Options/

"Edit/Find" Tab

Locate "Confirm" Panel (Top Right)

Unclick Action Queries to run action queries without confirmation.
 
The code thing is beyond my abilities. Thanks though.
Changing the settings in tools...options.... got rid of the
"You are about to run a make-table query which will modiy date in your table"

warning but the other warning...

"The existing table (table name) will be deleted....."

is still there.
It's a start though, thank you
 
Click Document Deletions off will allow table (or other object) deltions without confirmation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top