Select All Button

M

magmike

I am working with a subform (ContactList2b) on a tab (Contacts). The
form is a continuous form and each record has a check box next to that
is tied to the field [ContactSelect]. The purpose of the box is to
mark records to work with (i.e. to delete multiple records or email
multiple records). How can I code a button to select all that are
visible on the form?
 
M

Mark

Open a recordsetclone of the form's recordset and loop through setting the
flag true then close the recordsetclone and requery the form.

Alternatively you could contruct a sql statement that selects the records
you want and updates the flag.
 
M

magmike

Open a recordsetclone of the form's recordset and loop through setting the
flag true then close the recordsetclone and requery the form.

Alternatively you could contruct a sql statement that selects the records
you want and updates the flag.




I am working with a subform (ContactList2b) on a tab (Contacts). The
form is a continuous form and each record has a check box next to that
is tied to the field [ContactSelect]. The purpose of the box is to
mark records to work with (i.e. to delete multiple records or email
multiple records). How can I code a button to select all that are
visible on the form?- Hide quoted text -

- Show quoted text -

Please forgive me, but I am a novice. Could you walk me through doing
all that?

Thanks!
magmike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top