Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old November 18th, 2003, 10:33 PM
jalbores jalbores is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 7 jalbores User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Avoiding message

Is there any way to avoid the message i get when i run a table create query?. The point is that if i run this kind of queries and the table it creates already exists, then i get a message asking if i want to overwrite that table so i have to click yes in order to continue the process. I want the table to be overwritten without asking me because when i have several queries it is a lot of time clicking "yes" and it's needed to be there to perform those clicks. please give some clue.

thanks.

Reply With Quote
  #2  
Old November 19th, 2003, 01:11 AM
Stev Stev is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Queensland, Australia
Posts: 256 Stev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 53 sec
Reputation Power: 5
You can use the SetWarnings action to disable and enable system warnings. This can be done via Macro or VB code. Check out "SetWarnings" in the help file.

Reply With Quote
  #3  
Old November 24th, 2003, 08:43 PM
jalbores jalbores is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 7 jalbores User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
well, i've already tried that and solve the problem for most of the messages but not with the one showed when a table is to be overwritten by a create table query, i don't know but maybe it is possible by code, please help

thanks

Reply With Quote
  #4  
Old November 24th, 2003, 09:57 PM
Stev Stev is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Queensland, Australia
Posts: 256 Stev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 53 sec
Reputation Power: 5
I have just set up a sample database to test this and don't have any problems. Perhaps you could post a sample of your code.

Reply With Quote
  #5  
Old November 25th, 2003, 10:11 AM
jalbores jalbores is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 7 jalbores User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
well, the thing is that when i do that in table create or overwrite messages, Access performs the predetermined option wich as i remember is "CANCEL" or something like that, so it doesnŽt overwrite the table as i need. Let me know if this is true and the way to solve my issue. Just sumarizing, i need to avoid the message that appears when i run a table create query and the table it creates, it's already there, so i need to overwrite it without having to click "OK".

thanks a lot for your help

Reply With Quote
  #6  
Old November 25th, 2003, 09:44 PM
Stev Stev is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Queensland, Australia
Posts: 256 Stev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 53 sec
Reputation Power: 5
Here is a sample database which runs OK on my WinXP system. It is in Access97.
Attached Files
File Type: zip sample.zip (14.2 KB, 286 views)

Reply With Quote
  #7  
Old November 26th, 2003, 01:38 PM
jalbores jalbores is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 7 jalbores User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thank you very much, your example is a good idea on how to do what i need, i tried the same but from a "macro" not from a form. IŽll use your way.

thanks again.

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Avoiding message


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway