Access 2003 - conditional formatting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wongray
    New Member
    • Jun 2007
    • 17

    Access 2003 - conditional formatting

    Hi,

    I have an access question.

    it is possible to set a formula in access to check the current date - the date field.?

    Kindly advise.

    Regards
    Raymond
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by wongray
    Hi,

    I have an access question.

    it is possible to set a formula in access to check the current date - the date field.?

    Kindly advise.

    Regards
    Raymond
    Hi and welcome to TSDN. Hope you have a great time here. I'll move this to the access forum.

    Comment

    • tdw
      New Member
      • Mar 2007
      • 206

      #3
      Originally posted by wongray
      Hi,

      I have an access question.

      it is possible to set a formula in access to check the current date - the date field.?

      Kindly advise.

      Regards
      Raymond
      When you say "check the current date, what do you mean? Do you want a form to automatically fill in the current date? If so you would set the default value for that field to =date()

      Comment

      • missinglinq
        Recognized Expert Specialist
        • Nov 2006
        • 3533

        #4
        Your subject line includes conditonal formatting. What do you want Access to do in relation to the date?

        Comment

        • wongray
          New Member
          • Jun 2007
          • 17

          #5
          Originally posted by missinglinq
          Your subject line includes conditonal formatting. What do you want Access to do in relation to the date?
          Thanks for all the feedback. Sorry if i say it wrong.

          What I would like to do is to use the "Conditiona l formatting" in access 2003 to hightlight the color if the datefield in my data is over the current date. if the current date is over the datefield, it will turn into different color in my report.

          Hope this explain better. thank you

          Comment

          • missinglinq
            Recognized Expert Specialist
            • Nov 2006
            • 3533

            #6
            I'm sorry, but you're still not being terribly clear.
            hightlight the color if the datefield in my data is over the current date. if the current date is over the datefield, it will turn into different color
            Not sure what you mean by "over" and you first state "data is over the current date" then "current date is over the datefield." But I think this will cover it.

            In the Conditional Format Dialog box, under Condition select Field Value

            Then for cases where the datefield value falls after today's date put
            Greater Than -- Date()

            For cases where the datefield value falls before today's date put
            Less Than -- Date()

            Good Luck!

            Linq

            Comment

            • wongray
              New Member
              • Jun 2007
              • 17

              #7
              Thank you all - it works

              Comment

              • missinglinq
                Recognized Expert Specialist
                • Nov 2006
                • 3533

                #8
                Glad we could help! ;0)>

                Comment

                Working...