PC Review


Reply
Thread Tools Rate Thread

Automate the Uncheck

 
 
Kevbro7189
Guest
Posts: n/a
 
      16th Apr 2010
In my main Table I have a field called [Print]. It's a Yes/No check mark. I
use this field to let me know if a record needs to be printed, it's
automatically filled in as "-1" when the record is first generated. Through
a Query (to find these records) I have a form that lists all the records that
needs to be printed, so the user can double check them before printing.

My problem is the user has to manually uncheck the [Print] field after they
print the records. How can I go about and automate this process to uncheck
the field when the print button is pressed?

 
Reply With Quote
 
 
 
 
Steve Schapel
Guest
Posts: n/a
 
      16th Apr 2010
Kevbro,

Make an Update Query to reset this field for all records. The SQL view of
sucha query would look somewhat like this:
UPDATE NameOfYourTable SET Print=0 WHERE Print <>0

Then add an OpenQuery action to your macro to run this update at the same
time as the report is printed.

--
Steve Schapel, Microsoft Access MVP


"Kevbro7189" <(E-Mail Removed)> wrote in message
news:95CE7798-469D-4238-854B-(E-Mail Removed)...
> In my main Table I have a field called [Print]. It's a Yes/No check mark.
> I
> use this field to let me know if a record needs to be printed, it's
> automatically filled in as "-1" when the record is first generated.
> Through
> a Query (to find these records) I have a form that lists all the records
> that
> needs to be printed, so the user can double check them before printing.
>
> My problem is the user has to manually uncheck the [Print] field after
> they
> print the records. How can I go about and automate this process to
> uncheck
> the field when the print button is pressed?
>

 
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
Uncheck checkboxes =?Utf-8?B?QW1hdGV1cg==?= Microsoft Access 1 4th Oct 2007 04:56 PM
Uncheck a box =?Utf-8?B?UGlldHJv?= Microsoft Excel Misc 4 29th Aug 2007 11:48 AM
did I uncheck something?!?! Susan Microsoft Excel Programming 6 27th Nov 2006 03:28 PM
Uncheck a box Uschi via AccessMonster.com Microsoft Access Form Coding 9 17th Aug 2006 05:43 AM
How to automate with vb6 - can automate two lines but no more :-( =?Utf-8?B?UGhvZW5peDFfdWs=?= Microsoft Powerpoint 1 14th Aug 2006 04:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:23 AM.