Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access 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 August 4th, 2003, 10:37 AM
Authorized User
 
Join Date: Jun 2003
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to rylemer Send a message via MSN to rylemer Send a message via Yahoo to rylemer
Default Eliminate Prompt Message in make-table query

Im currently Developing a Database Program. One of the requirement is to have a make- table query. In that case if I run the make-table in my program MS Access Automatically ask "You are about to run a make-table query that will modify data in your table". I read in one of my MS Access Book. to eliminate the "Prompt Messages" go to Option Menu --> Edit/Find then unchecked Record Changes, Documents Deletions and Action Query. The problem is, my Program is Multiple User. almost 100 users and some users are in the other branch since Access is not a big File I email the Program to the other users. and It very hard to change the settings on by one in the Option Menu ans its not cool for them to instruct and change the settings in Option Menu.

Is there a possible solution to eliminate prompt messages in MS Access.

Thanks in Advance

Elmer
 
Old August 4th, 2003, 11:13 AM
Ben Ben is offline
Authorized User
 
Join Date: Jun 2003
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Default

A simple solution would be to create a macro.

Echo = No
SetWarnings = No
OpenQuery = [Query Details]
SetWarnings = Yes
Echo = Yes

Basically run the macro instead of directly running the query, if you have any command buttons assigned to run the query change them to run the macro.

Ben :)
 
Old August 4th, 2003, 11:33 AM
Authorized User
 
Join Date: Jun 2003
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Or if you choose to add this to VBA code...

DoCmd.SetWarnings False
DoCmd.OpenQuery "your query"
DoCmd.SetWarnings True

Kenny Alligood
 
Old August 4th, 2003, 12:15 PM
Authorized User
 
Join Date: Jun 2003
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to rylemer Send a message via MSN to rylemer Send a message via Yahoo to rylemer
Default

Yeah! It works Thanks Kenny and Ben. I really appreciate your help.

Elmer Espinosa





Similar Threads
Thread Thread Starter Forum Replies Last Post
Make Table Query CongoGrey Access 2 June 1st, 2007 06:22 AM
Can a Make Table Query produce a Linked table? kronik Access 5 May 16th, 2006 06:17 AM
Make Table query : table in Another Database marnik Access 1 March 19th, 2005 12:39 PM
Error on Make-Table Query In Union Query rylemer Access 1 August 20th, 2003 07:42 PM
Error on make table Query rylemer Access 2 June 19th, 2003 10:38 AM





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