PC Review


Reply
Thread Tools Rate Thread

Too many message boxes

 
 
=?Utf-8?B?aXRIZWluZXI=?=
Guest
Posts: n/a
 
      3rd Nov 2005
I have access as my interface to a mysql database. I use the mysql odbc
driver to connect and everything works fine; however, whenever I make an
insert or update to the database I get message boxes telling what is going
to happen and if it is okay. I have some sections of code that might update
the database 3 or 4 times and it is getting annoying to continually have to
accept the message boxes. Is there a way to turn those off?
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      3rd Nov 2005
Try:
SetWarnings
Don't forget to turn it back on again.

Alternatively, use the Execute method of CurrentDb() instead of RunSQL.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"itHeiner" <(E-Mail Removed)> wrote in message
news:17EC9FE2-70CB-421B-965E-(E-Mail Removed)...
>I have access as my interface to a mysql database. I use the mysql odbc
> driver to connect and everything works fine; however, whenever I make an
> insert or update to the database I get message boxes telling what is
> going
> to happen and if it is okay. I have some sections of code that might
> update
> the database 3 or 4 times and it is getting annoying to continually have
> to
> accept the message boxes. Is there a way to turn those off?



 
Reply With Quote
 
 
 
 
=?Utf-8?B?aXRIZWluZXI=?=
Guest
Posts: n/a
 
      3rd Nov 2005
Thanks, that did it.

"Allen Browne" wrote:

> Try:
> SetWarnings
> Don't forget to turn it back on again.
>
> Alternatively, use the Execute method of CurrentDb() instead of RunSQL.
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia.
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
> "itHeiner" <(E-Mail Removed)> wrote in message
> news:17EC9FE2-70CB-421B-965E-(E-Mail Removed)...
> >I have access as my interface to a mysql database. I use the mysql odbc
> > driver to connect and everything works fine; however, whenever I make an
> > insert or update to the database I get message boxes telling what is
> > going
> > to happen and if it is okay. I have some sections of code that might
> > update
> > the database 3 or 4 times and it is getting annoying to continually have
> > to
> > accept the message boxes. Is there a way to turn those off?

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Too many many-to-many? Huber57 Microsoft Access 10 12th Feb 2008 09:11 PM
How many one to many relationships are too many? Debra Farnham Microsoft Access Database Table Design 9 25th Oct 2006 03:40 PM
mailing label report generates too many pages & too many copies =?Utf-8?B?U2NvdHQgQmlsbGluZ3M=?= Microsoft Access Reports 7 25th Jul 2006 09:13 PM
I have too many columns and rows, so it prints too many pages. =?Utf-8?B?SGVscCBJIGFtIG5ldyB0byBhbGwgdGhpcw==?= Microsoft Excel New Users 2 24th Jul 2005 04:45 AM
Re: 1 to many - many to many - many to 1 Miha Markic Microsoft ADO .NET 3 23rd Jan 2004 06:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:00 AM.