Results 1 to 3 of 3
  1. #1
    templeowls is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Feb 2019
    Posts
    305

    Need help with a conditional formatting expression

    I'm using this below expression to highlight a field if its blank and it works well:



    Code:
    IsNull([CustomerLastName])=True
    The only change I want to make is that if a certain other field is blank too (let's say CustomerFirstName) then the CustomerLastName field does not highlight.

    Any ideas?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,919
    So this CF is on CustomerLastName control?

    IsNull([CustomerLastName]) AND Not IsNull([CustomerFirstName])

    Don't really need =True.
    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
    templeowls is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Feb 2019
    Posts
    305
    That worked. Thank you!!

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

Similar Threads

  1. Replies: 1
    Last Post: 12-29-2017, 04:08 PM
  2. Conditional formatting expression
    By SunTop in forum Forms
    Replies: 3
    Last Post: 11-08-2016, 09:21 AM
  3. Replies: 6
    Last Post: 08-30-2016, 05:43 AM
  4. Access Form Conditional Formatting Expression
    By mrmmickle1 in forum Programming
    Replies: 1
    Last Post: 08-03-2016, 02:01 PM
  5. conditional formatting expression
    By kroenc17 in forum Programming
    Replies: 2
    Last Post: 10-22-2010, 09:53 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