Results 1 to 2 of 2
  1. #1
    kostakenny is offline Novice
    Windows 10 Office 365
    Join Date
    Nov 2022
    Posts
    12

    Automatic Check Box

    Depending on whether a field in a table is blank or not, I want a check box on a form to be automatically checked (i.e. if the field is blank, the check box should be unchecked, and if the field is not blank, the check box should be checked).



    Any idea how to do this?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    This is data that does not need to be saved, just calculated. Have an expression in checkbox ControlSource.

    =IIf(IsNull([somefield]), False, True)

    However, what purpose does this checkbox serve?
    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. Replies: 5
    Last Post: 02-07-2020, 11:21 PM
  2. Replies: 41
    Last Post: 12-06-2016, 08:40 AM
  3. Replies: 4
    Last Post: 11-08-2016, 07:49 PM
  4. Replies: 4
    Last Post: 02-03-2014, 12:16 PM
  5. Automatic field check and population
    By danidin in forum Forms
    Replies: 0
    Last Post: 01-03-2009, 12:45 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