Results 1 to 2 of 2
  1. #1
    lucky is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2011
    Posts
    3

    Have a ComboBox selection Update/Edit table checkbox value to Yes

    Need some help trying to figure out how to have a Subform ComboBox record selection to auto change a table record field value checkbox to either Yes/True/-1.

    The table and record selected in the combobox is the same record that I need to have auto checked.

    I was thinking on using OnGotFocus/OnLostFocus.

    Having the combobox selection receive focus keeping the record checked and when it loses focus having the record remove the check in the checkbox.

    Any assistance would be appreciated.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,601
    We don't know nature of the data and why you want this behavior so can't say if it is best approach to meet your requirements. However, sounds like it will work. Try it and let us know if you encounter issue.
    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.

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

Similar Threads

  1. Combobox selection updates Table record
    By lucky in forum Access
    Replies: 4
    Last Post: 10-30-2011, 10:44 AM
  2. Replies: 6
    Last Post: 07-28-2011, 04:07 AM
  3. Replies: 0
    Last Post: 08-24-2010, 06:38 PM
  4. Replies: 0
    Last Post: 12-16-2009, 01:14 PM
  5. Replies: 0
    Last Post: 04-17-2008, 09:24 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