Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

Thanks so much for having a place for us propeller heads to hang out and chat.

Geography

Where in the world do Tek-Tips members come from?
DarkOne72 (TechnicalUser)
5 Mar 12 8:38
Hi All,

I am not sure how to tackle this porblem I am having.
What I want to do is make it where I have a form with a list of certain records with Name, Phone Number and employee number that is pulled from a query. The query part is working properly but what I want do on the form is show the above infomration (name, phone etc..) and have acheck box next to it and if it is checked when I hit a button it will open a report with only the checked boxes. can someone assist please?

Thank you...
MajP (TechnicalUser)
5 Mar 12 9:54
There is no real easy way to do this.  You can not use an unbound control, so you would have to have a field in a table for "selected".  This would probably require as the form opens to run an update query to clear out that field, or you will have to do it manually.  Then the report can be based on a query where "selected" is true.

A common way is to use a multiselect listox.  Then pick your multiple names, and you can build a query off that control.  Look in the query FAQs for using listboxes. There is an example that is flexible.

I personally use a listview control to do this because it has a listbox with checks. But it requires a lot of code to manipulate.
DarkOne72 (TechnicalUser)
5 Mar 12 17:55
hmmm...I will haev to look that up as I have not done that before, thank youfor the information.  If you have any examples that would be awesome!

Thank you again.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close