Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
  1. #16
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,793
    and if it did, it will change ALL instances of the control to a red background. That is neither conditional formatting, nor is it the use of old value and current value properties.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  2. #17
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,563
    Hi Colin

    Thanks I missed that.

    I changed Line 20 as follows and now the Control PO_Part_DueDate background colour on all records change ?

    Code:
    20    If Me.PO_Part_DueDate.OldValue <> Me.PO_Part_DueDate Then
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  3. #18
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,914
    Put the compare of old value and value as an expression into the conditional formatting expression, and see what that produces.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  4. #19
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,914
    Just tested this in a continuous form and that worked?

    Click image for larger version. 

Name:	m60CF.PNG 
Views:	12 
Size:	23.5 KB 
ID:	43807

    My control was called ThirdParty

    HTH
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  5. #20
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,563
    Hi Welshgasman & Micron

    Many thanks that works.
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  6. #21
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,793
    Interesting. Thought of that but dismissed it thinking that the cf expression would not like the reference to the old value property. Alas, I had nothing to try it on.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  7. #22
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,914
    Quote Originally Posted by Micron View Post
    Interesting. Thought of that but dismissed it thinking that the cf expression would not like the reference to the old value property. Alas, I had nothing to try it on.
    I only have one continuous form and I was not going to bugger that up , so I just took a copy and modified that.
    I did try expression first with ThirdParty.Value <> ThirdParty.OldValue, but that did not work, so tried the above instead.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  8. #23
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,563
    Many thanks
    I learn something everyday.
    Only problem being at my age (76) It becomes more and more difficult to remember everything.
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  9. #24
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,914
    Quote Originally Posted by mike60smart View Post
    Many thanks
    I learn something everyday.
    Only problem being at my age (76) It becomes more and more difficult to remember everything.
    That is why I use Google or look in my old databases. I'm 66 and can barely remember what I did 10 minutes ago, so I know how that is. Doesn't stop me from searching though.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 7
    Last Post: 02-24-2019, 05:18 PM
  2. Replies: 3
    Last Post: 01-26-2018, 03:25 AM
  3. Replies: 5
    Last Post: 01-04-2014, 02:29 PM
  4. Tab Control Background
    By redbull in forum Forms
    Replies: 1
    Last Post: 05-25-2012, 02:13 PM
  5. Background Format
    By maysamab in forum Reports
    Replies: 7
    Last Post: 04-06-2009, 10:38 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