Results 1 to 5 of 5
  1. #1
    stevedefazio is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2013
    Posts
    2

    Access 2010 - Multiple Rows in Form w/ checkboxes

    I currently have a query that produces a result set with a number of rows. Some columns are left blank for free-form data entry, and some of the columns are calculated values based on other columns.



    What I need, is a form that displays all the data in table-form, with a checkbox at the end of each row which when checked, will populate a field with the user's name. Basically the user is just using the checkbox to certify that they've reviewed the data.

    How should I do this? Is it a form? Do I need to use a sub-form/continuous form/etc? I'm an MS Access rookie, so I appreciate any help.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,620
    How do you know the name of the user?

    This will require code (macro or VBA) in button Click event. Something like:

    Sub buttonname_Click()
    Me.textbox = "username"
    End Sub
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    stevedefazio is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2013
    Posts
    2
    Thank you for that! I'd been hoping to avoid doing programming, but I guess it's unavoidable.

    Any thoughts on the best way to get all the records to show up on a single form? When I have the query selected and hit "Create Form", it gives me each record as its own page.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,620
    Set the form to Datasheet view or Continous and with Continuous can arrange controls to look like datasheet. For the latter will first have to 'ungroup' the controls, as the wizard probably grouped them. Select all the controls by click/sweep with the mouse curser then right click for shortcut menu > Layout > Remove. Now arrange and size controls individually.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    HuubVanOers is offline Novice
    Windows Vista Access 2007
    Join Date
    Sep 2013
    Posts
    2
    Hi,
    you can get the username with the environ function:
    eg. txtUser = environ("USERNAME)

    gr.
    Huub

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

Similar Threads

  1. Replies: 3
    Last Post: 08-02-2013, 03:46 PM
  2. Replies: 3
    Last Post: 01-17-2012, 01:04 PM
  3. Access 2010 - table with same fileds and rows
    By dkatorza in forum Access
    Replies: 3
    Last Post: 08-25-2011, 07:32 AM
  4. Form queries. Multiple checkboxes.
    By radink in forum Queries
    Replies: 4
    Last Post: 04-27-2011, 07:34 AM
  5. select multiple checkboxes in access 2003?
    By GoneFusion in forum Forms
    Replies: 2
    Last Post: 09-20-2010, 01:44 PM

Tags for this Thread

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