Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 19th, 2006, 06:17 AM
Authorized User
 
Join Date: Apr 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Disable or Hide Prompts?

Is it possible to disable or hide the append query prompt when you run an insert statement from a form in Access?

Liam Gulliver,
http://p2p.neopian-hosting.com
A New Programming Chat Forum
__________________
Liam Gulliver,
http://p2p.neopian-hosting.com
A New Programming Chat Forum
 
Old April 19th, 2006, 06:46 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Before the code that runs the query, put this line:

DoCmd.SetWarnings False

Then after the query line put:

DoCmd.SetWarnings True

Please note there is no "=" as there might normally be when using a boolean.

HTH

mmcdonal
 
Old April 19th, 2006, 07:54 AM
Authorized User
 
Join Date: Apr 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, worked like a charm.

Liam Gulliver,
http://p2p.neopian-hosting.com
A New Programming Chat Forum





Similar Threads
Thread Thread Starter Forum Replies Last Post
disable the hide button in the pivot menu paul20091968 Excel VBA 0 June 29th, 2006 08:59 AM
Hide or Disable Table To Open vivek_inos Access VBA 2 December 8th, 2005 09:03 AM
Can We Hide or Disable Tables so It cannot be Open vivek_inos Access 1 December 8th, 2005 08:56 AM
Append Query Prompts lryckman Access 3 September 30th, 2004 08:12 PM
Parameter Prompts scruffy jim Crystal Reports 1 May 30th, 2004 01:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.