Results 1 to 4 of 4
  1. #1
    Werner62's Avatar
    Werner62 is offline Novice
    Windows 10 Access 2016
    Join Date
    Jan 2018
    Location
    Belgium
    Posts
    4

    conditional formatting


    Hi, how can I change the color of a Field in a row of a "ds" with "Conditional format" when it concerns a "CheckBox".Example: Field1: "ID No" Becomes Green When Field2: "CheckBox" is "activated"
    Many Thanks. Werner
    Last edited by Werner62; 02-04-2018 at 07:13 AM.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    What have you tried so far?

  3. #3
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    In design view, select the field you want to format [ID no] and select Conditional Formatting
    Select New Rule and change the dropdown to Expression Is

    You then need to type the field name (NOT the control name) in square brackets and the condition.
    So if the field name is Field2 and it's a text field with 'Activated' as the value
    Code:
    Expression Is [Field2]="Activated"
    If it's a boolean (Yes/No) field then
    Code:
    Expression Is [Field2]=True
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  4. #4
    Werner62's Avatar
    Werner62 is offline Novice
    Windows 10 Access 2016
    Join Date
    Jan 2018
    Location
    Belgium
    Posts
    4
    Thank you ridders52 Short clear and it works.Thx. W.

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

Similar Threads

  1. Replies: 2
    Last Post: 11-12-2015, 10:46 AM
  2. Replies: 6
    Last Post: 05-26-2013, 09:10 PM
  3. Conditional Formatting
    By bellevue in forum Forms
    Replies: 4
    Last Post: 05-17-2012, 06:03 AM
  4. Conditional Formatting
    By Paul H in forum Reports
    Replies: 3
    Last Post: 11-07-2011, 11:59 AM
  5. Conditional Formatting
    By Desstro in forum Programming
    Replies: 3
    Last Post: 12-01-2010, 09:52 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