Results 1 to 4 of 4
  1. #1
    IamLove is offline Novice
    Windows 10 Access 2016
    Join Date
    Oct 2019
    Posts
    2

    Disable data input when checkbox has check

    Is it possible to create an if statement that when checkbox has been checked, 3 data input will be disable which is an amount. I hope you can help me with this.



    Thanks in advance.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Can use Conditional Formatting to disable textboxes or comboboxes.
    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
    IamLove is offline Novice
    Windows 10 Access 2016
    Join Date
    Oct 2019
    Posts
    2

    Red face

    Quote Originally Posted by June7 View Post
    Can use Conditional Formatting to disable textboxes or comboboxes.

    Is it also possible to make the 3 disable input be converted into 0 value? because those 3 disabled fields (amount) are in a calculated format. thanks

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Can have conditional expression that displays 0 when box is checked.

    =IIf([checkbox], 0, other calc here)

    But if these textboxes already have calculations then why need to disable? Cannot input value to a textbox with an expression or if bound to query calculated field.
    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: 1
    Last Post: 12-15-2017, 04:26 PM
  2. Disable tab in subform based on check box
    By russdwright in forum Forms
    Replies: 5
    Last Post: 10-06-2017, 05:45 PM
  3. Yes/no checkbox event when check
    By darwin in forum Access
    Replies: 6
    Last Post: 05-08-2015, 01:24 PM
  4. Replies: 3
    Last Post: 09-29-2010, 09:31 AM
  5. Disable checkbox on a form
    By caffe in forum Forms
    Replies: 2
    Last Post: 09-16-2010, 07:37 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