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

access default messages 1

Status
Not open for further replies.

Lhuffst

Programmer
Jun 23, 2003
503
US
using the select into statement which works fine but I receive these 2 messages when I run the docmd.runsql portion:
1. The existing table "tblname" will be deleted before you run the query
2. You are about to paste 3 rows into your new table.

While the messages are accurate, the users do not want to see them. How can I get around them?
 
You can use Execute:

CurrentDB.Execute

Or you can set warning off before you run the SQL and on afterwards:

DoCmd.SetWarnings True
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top