Results 1 to 3 of 3
  1. #1
    rdba is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Oct 2012
    Posts
    1

    Continuous Form - Checkbox - Last Checked Box not updating table

    First timer here - I did search the forums for this issue but did not find it in the top 20 or so posts.

    So I have a continuous form that returns all of the files in a designated folder. I've written a procedure that takes all files that where the Checkbox = On and returns the necessary SQL code with no issues.

    The one problem I am having is that unless the user clicks the form again after checking a checkbox, the last checkbox does not update the table.

    Is there something I can do like OnClick which will force this update even if the user does not click off the checkbox?

    Here you can see that the form has 3 fields checked and the table only shows 2.



    Click image for larger version. 

Name:	Checkbox.PNG 
Views:	9 
Size:	17.0 KB 
ID:	9406

    Now once I click anywhere on the form that field will update in the table, but this is to restore our backups and I can't really trust someone to remember to click off the checkbox and risk losing the last file being restored.

    Thoughts?

  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
    My first thought is that presuming you would have the user click a button to run your procedure, that would accomplish the goal of saving the record. There are ways of forcing the record to save, but I suspect you're worrying about something that won't actually be a problem in practice.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    I agree with pbaldy unless you're showing a subform with your table view it's not really an issue. You can force an update by using me.refresh in the on click event of the checkbox but really it shouldn't be an issue.

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

Similar Threads

  1. VBA for testing if checkbox is checked
    By rhewitt in forum Programming
    Replies: 0
    Last Post: 09-26-2012, 07:11 AM
  2. Display Text Only if Checkbox is Checked
    By Rick5150 in forum Forms
    Replies: 2
    Last Post: 09-16-2012, 09:19 AM
  3. If checkbox is checked, add X to a current value
    By INeedAboutTreeFiddy in forum Programming
    Replies: 4
    Last Post: 05-30-2012, 08:17 AM
  4. Updating a Checkbox in a Form
    By groovnvirginia in forum Forms
    Replies: 3
    Last Post: 02-15-2012, 08:29 AM
  5. Replies: 22
    Last Post: 11-14-2011, 10:29 AM

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