Results 1 to 3 of 3
  1. #1
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313

    Unbound Check Boxes on Datasheet View

    I have a simple table that is shared by multiple users in datasheet view. I want to provide an unbound check box on the datasheet so that a user may select multiple rows by clicking on the check box. Then on some event, in VBA code, I want to do something with the rows that are checked. The reason that the check boxes need to be unbound and not contained in the table is that each user may select different rows at the same time.



    I tried a small, local table that I linked to the main table by primary key, but when I tried to insert a new row, the system said the links didn't match and wouldn't do the insert.

    The number of rows that would be checked at one time would be small, no more than 10 at a time, so if there were a way I could bind the control to a table in memory, that would work as well, however, I don't know how to do that.

    Thanks, Eddie

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    As you've found, the check box would need to be bound to something. Is using a multi-select list box an option?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313
    Not really. Although the user may select only a small number of rows, the available rows are in the range of 15,000. Also, there are a lot of fields on each row that the user maintains.

    Do you know of a way to bind the control to a recordset that I maintain with VBA code to be in sync with the form's recordset?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Export to Excel from unbound subform datasheet?
    By dnme in forum Import/Export Data
    Replies: 7
    Last Post: 05-28-2012, 01:50 PM
  2. Datasheet Filter with Check Boxes
    By EddieN1 in forum Forms
    Replies: 1
    Last Post: 05-17-2012, 06:53 PM
  3. Check box to add 0.5 to unbound text box
    By neoroses in forum Forms
    Replies: 12
    Last Post: 07-20-2011, 11:26 PM
  4. Cascading combo boxes in datasheet view
    By Hjava in forum Forms
    Replies: 1
    Last Post: 06-28-2010, 06:02 PM
  5. synch 2 combo boxes in datasheet view
    By kapplers in forum Forms
    Replies: 2
    Last Post: 11-09-2009, 09:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums