PC Review


Reply
Thread Tools Rate Thread

Append Messages

 
 
Erin
Guest
Posts: n/a
 
      3rd Feb 2010
I have a form, frmAttendanceTrack, that allows the user to enter a record
when an employee uses vacation time, etc. The user clicks on the "submit"
button to run an append query and append that new record into a table. The
"append messages" are hidden from view.

There is a button on frmAttendanceTrack that allows you to get a "quick
reference" of how much vacation time an employee has left. If you click that
button, a small form opens that allows you to look at employee records.

PROBLEM: For some reason, if you use the "quick reference", then close out
of it and try to submit an attendance record from frm Attendance Track, those
dumb "append messages" pop up again!

Why does this happen and how can I fix it??

Thanks!


 
Reply With Quote
 
 
 
 
Daryl S
Guest
Posts: n/a
 
      3rd Feb 2010
Erin -

Search your code for "SetWarnings". We normally turn them off before
running action queries, and then turn them back on after running them. It
looks like they are turned back on in the "Quick Reference" piece, which is
probably OK. It could be you turned them off in the OnCurrent or other form
event, but they should have been turned off right before calling the append
query. You will need to adjust where these statements are. They usually
look like this:

DoCmd.SetWarnings False (or True to turn them on)

--
Daryl S


"Erin" wrote:

> I have a form, frmAttendanceTrack, that allows the user to enter a record
> when an employee uses vacation time, etc. The user clicks on the "submit"
> button to run an append query and append that new record into a table. The
> "append messages" are hidden from view.
>
> There is a button on frmAttendanceTrack that allows you to get a "quick
> reference" of how much vacation time an employee has left. If you click that
> button, a small form opens that allows you to look at employee records.
>
> PROBLEM: For some reason, if you use the "quick reference", then close out
> of it and try to submit an attendance record from frm Attendance Track, those
> dumb "append messages" pop up again!
>
> Why does this happen and how can I fix it??
>
> Thanks!
>
>

 
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
How do I turn off the error (violations) messages in an append que =?Utf-8?B?VGhlIER1bW15IGluIEFjY2VzcyBmb3IgRHVtbWll Microsoft Access 1 19th Apr 2007 08:59 PM
Not showing messages with an Append Query =?Utf-8?B?TmVhbA==?= Microsoft Access Queries 1 19th Jan 2005 01:13 AM
confirmation messages on append query June Microsoft Access Queries 2 9th Jun 2004 09:31 PM
Hiding Messages from Append Query queries chuckW Microsoft Access Forms 2 25th Sep 2003 09:22 PM
Error messages on append queries Jason Potter Microsoft Access Queries 2 23rd Sep 2003 03:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:54 PM.