Results 1 to 10 of 10
  1. #1
    brow1726 is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2012
    Posts
    13

    Mass Append using check boxes


    I am somewhat new to access but have a general understanding. My question is I am creating a database to track PTO. I have fields such as date, type, start, end, hours used etc. I also have a field for name. What I would like to do is use check boxes on the bottom that are attached to a name that will create multiple records so that I can update multiple people at one time. For holidays or alot of people leaving early for some reason. Any help would be greatly appreciated!!!

  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,652
    I'd use a listbox of names, which would be more dynamic.

    http://www.baldyweb.com/MultiselectAppend.htm
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    brow1726 is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2012
    Posts
    13
    Ok so I tried the ListBox and when I go to run the append query it will save multiples. Like *2 of them amount that are in the database. It also wont allow me to select more then one name in the List Box.

  4. #4
    brow1726 is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2012
    Posts
    13
    Like *2 of them amount that are in the database
    Also when there is none it wont save any records

  5. #5
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Show your code.

  6. #6
    brow1726 is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2012
    Posts
    13
    Dont have to much code, Im in the learning process and just getting into the basics of it. What I have is an append query from "Query Design" in Access 2007. I can upload what I have granted I will only have a few name as compared to the 50 because of the senstive info.

  7. #7
    brow1726 is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2012
    Posts
    13

    Slimmed down version of DB

    Here is a copy of it broken down
    Attached Files Attached Files

  8. #8
    brow1726 is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2012
    Posts
    13
    Database112.accdb Sorry I had to get rid of a dlookup function this one works

  9. #9
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I won't be able to look at it until tonight.

  10. #10
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    There's a lot wrong. Offhand, your listbox is not set to Multi Select, your query doesn't use it anyway (and couldn't), the query doesn't have joins, and your form is bound to the table.

    Did you not see the code and sample db in the link above? You won't be able to use a multiselect listbox without code. Your checkbox idea would be awkward at best, and I believe would also require code.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Using check boxes
    By pbouk in forum Access
    Replies: 7
    Last Post: 12-12-2012, 06:49 PM
  2. Yes/No check boxes
    By Desstro in forum Forms
    Replies: 2
    Last Post: 05-03-2010, 04:26 AM
  3. To check or Un-Check all Boxes in a form
    By devcon in forum Forms
    Replies: 7
    Last Post: 05-01-2010, 12:03 AM
  4. Un-Check all Boxes
    By cotri in forum Forms
    Replies: 4
    Last Post: 04-30-2010, 12:53 PM
  5. check boxes
    By chiefmsb in forum Forms
    Replies: 1
    Last Post: 11-14-2006, 02:22 PM

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