check all that apply

  • Thread starter Thread starter matthew nance
  • Start date Start date
M

matthew nance

i want users to mark a check box for all the records that
they want included in a report. how do i do this?

i have a form with a combo box and command button. The
user selects from the combo box and when he clicks the
command button it opens another form from a query with all
the records that mean the combo box's criteria. i want
this new form to have check boxes for the user to select
all the records that he wants included. when a "print
report" is selected from the originail form the selected
records should be included on the report.

i'm using access 97 with windows 95.
thanks,
matthew
 
Add a yes/no field to your underlying table.
You can then bind a checkbox on your form to that field.
Remember to set all the checkboxes back to No after you run your report.

HTH
- Turtle
 
you're a genius. it works. now i just can't figure out
how to reset the yes/no values in my tables to no. any
help?

thanks,
matthew
 
Easiest way is an Update query that updates the field to False.
 
that was easy, thanks. i put in a command button on my
form to run the query. any way to keep those pesky pop-up
messages from coming up? the first says "you're about to
run an update query" the second "you're about to update
4000 records"

thanks,
matthew
 
DoCmd.SetWarnings False
Run your query
DoCmd.SetWarnings True

Be aware, though, that this can cause you to miss meaningful warnings, too.

HTH
- Turtle
 
Would this work properly if more than one user tried to produce a report at
the same time?

Doug
 
Probably not.
If that's a serious concern, you could use a local table.

- Turtle
With Access 97 on Win95, I'm guessing he doesn't have a lot of concurrent
users.
 

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

Similar Threads


Back
Top