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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable create of override prompts of certain tables.

Status
Not open for further replies.

kjspear

Programmer
Feb 13, 2002
173
US
Hello everyone;

I have a simple question. I would like to disable the prompts such as 'Create Table or Table Already Exists override?'. What has happened is that in VBA, access will create a query based table. That works fine. However, I don't want ACCESS to prompt the user for specific tables. Is there a way this can be done without it affecting all other tables?

Thanks
KJ
 
docmd.setwarnings 0

docmd.runsql "youractionquery sql here"
or
docmd.openquery "youractionquery name here"

docmd.setwarnings -1

HTH,
fly


[blue]Typos, that don't affect the functionality of code, will not be corrected.[/blue]

Martin Serra Jr.
[blue]Shared Database_Systems and _Applications across all Business_Areas[/blue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top