Results 1 to 2 of 2
  1. #1
    AndyC121 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2015
    Posts
    37

    Conditional Formatting on a form

    =[DispatchDue]-Date() & " Days Remaining" show days remaining on my form from a predefined date entered from a calculated combobox (normally19 or 20 process days)

    Value > [DispatchDue] turns green when entered on form
    Value <=[DispatchDue] turns red when due or -days



    How do I get it to turn orange say 10 days before its red?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    If you put the days remain in the query behind the form,
    Days: dateDiff("d", DispatchDue],Date)

    then your calcs can be off the days field,
    days>0 and days<11

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

Similar Threads

  1. Replies: 2
    Last Post: 12-22-2012, 07:49 AM
  2. Replies: 7
    Last Post: 10-01-2012, 07:59 AM
  3. Conditional formatting inside a form
    By DataRick in forum Programming
    Replies: 14
    Last Post: 02-12-2012, 06:23 PM
  4. Conditional formatting on form
    By ngruson in forum Forms
    Replies: 11
    Last Post: 09-17-2010, 12:15 PM
  5. Conditional Formatting (on Open form?)
    By christopheb in forum Forms
    Replies: 0
    Last Post: 03-16-2010, 07:07 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