Results 1 to 4 of 4
  1. #1
    groovnvirginia is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2012
    Posts
    2

    Updating a Checkbox in a Form

    Hello all, I have a simple access db with one table and 5 columns [ID, FIRSTNAME, LASTNAME, DOB, CORRECT]. Column 5 is a yes/no column.

    I have a search box that is pulling up records into a form that match a certain criteria which works fine. Once I am at the desired record I want the user to validate column 4 [DOB] and then click on the check box to designate that it is correct or not and then update column 5 [Correct].



    So far no luck or success. I have tried writing VB to update the column on click but it seems to do nothing.

    Also, how hard would it be to allow them to up the [DOB] and save it?

    As you can probably tell I'm a newbie to Access.

    v2010

    Thanks and any suggestions welcome.

  2. #2
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    Is your Form 'bound' to the Table?
    [If it is - you should see the Table name in the Form's Property Sheet - Data tab - Record Source].

    If the Form is bound to your Table - you shouldn't need to write any code to save anything on the form. As soon as you go to another record, Access automatically saves your changes - including whether the check-box is checked or not-checked.

    Maybe I have not understood what you're trying to do.
    Could you explain in different words?

  3. #3
    groovnvirginia is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2012
    Posts
    2
    Robeen, that was it.. I also noticed that the "Allow Edits" was set to No so between the 2 that fixed it.

    Thanks!

  4. #4
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    Happy to help! All the best.

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

Similar Threads

  1. Creating a checkbox form
    By Patti in forum Access
    Replies: 1
    Last Post: 01-25-2012, 05:06 PM
  2. hide checkbox in a form
    By hung_ko in forum Forms
    Replies: 11
    Last Post: 01-26-2011, 11:50 AM
  3. Form Checkbox/combobox help
    By KevinMCB in forum Forms
    Replies: 4
    Last Post: 11-30-2010, 11:05 AM
  4. Disable checkbox on a form
    By caffe in forum Forms
    Replies: 2
    Last Post: 09-16-2010, 07:37 AM
  5. Checkbox filter on a form
    By aletrindade in forum Access
    Replies: 1
    Last Post: 12-02-2009, 06:22 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