Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old May 16th, 2006, 12:15 PM
informatico@intertext.es
Guest
 
Posts: n/a
Default Using checkboxes to select rows in a form

Hi there.

I'm not well-versed in MS Access, but I've been reading the
documentation to no avail to find a way to solve what seems to me a
rather simple issue.

I have a query containing two columns, taken from different tables.
These are displayed in a continuous form; what I want to do is add a
checkbox for each row, so that users can select any number of these for
a process to loop through. Thing is, using an unbound control is
useless, as Access views it as a single instance, not one per row; and
adding a row to the source table is out of the question, as this is
strictly temporary data that should not be stored. I'm at a loss at how
to do it, and would very much appreciate any hints.

Best, Karim

  #2  
Old May 16th, 2006, 02:25 PM
Ron2006
Guest
 
Posts: n/a
Default Re: Using checkboxes to select rows in a form

In reality, you have stated what you need to do.

In order to add a checkbox to each row you have to add a checkbox to
each row.

One way

1) create a local table that contains ALL of the fields that are shown
from your query AND a check box.

2) Create a query that will delete all records from that table

3) change the current query form a select query to a append query

4) Change the form/subform that currently uses that query to now use
the table or a query on that table.

5) use that table with the check/checked boxes as the source for
whatever processes you were going to do.

6) Where/whatever button you were using to come to the form now,
instead have it perform execute the query form step 2 and step 3.

The table is a temporary table addressable by that particular user and
will essentially disappear the next time you enter the form.

Ron

  #3  
Old May 16th, 2006, 04:45 PM
Ron2006
Guest
 
Posts: n/a
Default Re: Using checkboxes to select rows in a form

Here is another person asking a similar question and the two answers he
came up with....

http://groups.google.com/group/micro...9fc43f03b1dacb

  #4  
Old May 17th, 2006, 07:45 AM
informatico@intertext.es
Guest
 
Posts: n/a
Default Re: Using checkboxes to select rows in a form

Thanks. I was handling it more or less this way, but I felt it was
somewhat of a kludge, and I thought I might be missing something
obvious. Thanks for your help. Karim

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,338 network members.