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

SQL Insert without warning

Status
Not open for further replies.

pbcharlie

Technical User
Jan 16, 2002
55
Is it possible to have access to run a macro to insert a line of data without the screen message saying you are about to insert a line of data?
Thanks in advance
Charlie
 
In the macro actions you will see a SetWarning action. Before your insert action, use SetWarnings False and then after the Insert use SetWarnings True. You want to be sure to always turn them back on after you've turned them off.

Paul
 
Easy when you know how. Thank you very Much



Charlie
Thanks in advance
Charlie
 
alternativly in tools / options on edit/find tab untick 'confirm action queries' then you will not recieve any warnings regarding action queries but you will still get error msgs
(this is useful when you are troubleshooting)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top