Re: Creating a 'select all' button
- From: Juniper <Juniper@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 5 Feb 2009 08:22:02 -0800
I tried this but I got an error message that I was missing an operand.
But I'll figure it out.
Thanks so much,
--
Desperately seeking info
"fredg" wrote:
On Wed, 4 Feb 2009 13:16:01 -0800, Juniper wrote:.
Hi all,
I have created a check box for a project that I'm working on in which I have
to select over 7,000 records in this database.
Is there a way for me to create a 'select all' button that will allow me to
select all the records instead of doing it one by one?
I'm using Microsoft Access 2003.
You mean you wish to set the check box to true for each record?
Just run an Update query.
Code the Click event of a Command Button:
CurrentDb.Execute "Update MyTable Set MyTable.[CheckBoxName] =
True;",dbFailIOnError
To then uncheck the field for all records:
CurrentDb.Execute "Update MyTable Set MyTable.[CheckBoxName] =
False;",dbFailIOnError
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
- Follow-Ups:
- Re: Creating a 'select all' button
- From: Gina Whipp
- Re: Creating a 'select all' button
- References:
- Creating a 'select all' button
- From: Juniper
- Re: Creating a 'select all' button
- From: fredg
- Creating a 'select all' button
- Prev by Date: RE: How do I add a new selection to a drop down list?
- Next by Date: RE: How do I add a new selection to a drop down list?
- Previous by thread: Re: Creating a 'select all' button
- Next by thread: Re: Creating a 'select all' button
- Index(es):