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

Info Boxes?

Status
Not open for further replies.

Klo

Technical User
Aug 28, 2002
86
US
When I import data to a table I will get an info box that states (among other things), "Access was unable to append all the data to the table.". This is due to primary key violations which means that access is doing just what it is supposed to do. The problem is that I want this proceedure to run at nite and no one will be there to click OK. How do I bypass this box?
 
Just before your command that runs the append query, you have to put:

DoCmd.SetWarnings False

Do your query here

DoCmd.SetWarnings True

Hope this helps.
 
It's just amazing when you know what you are doing! Works great. Thanks so much!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top