On 29 Dec 2006 14:41:47 -0800,
(E-Mail Removed) wrote:
>I've used access to create address book that have a Yes No Check box.
>With this address book, I can select the address I want to print. I
>did this by adding a Yes No Check box to each entry. Now the problem
>is that I have to uncheck the boxes everytime I start the database. Is
>there a way I can set all the boxes to No either on the start of the
>file or when I exit the file? That way I don't have to go through and
>uncheck the addresses before I start my selection.
>
>Thank you for your help.
Run an Update query to set the yes/no field in the Table to False.
It'll be a mite faster if you use a criterion to select only those
records where it's true.
UPDATE AddressBook
SET PrintMe = False
WHERE PrintMe;
Save this query and execute it in some suitable event (such as the
Form's Open event).
John W. Vinson[MVP]