Results 1 to 11 of 11
  1. #1
    TNich is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2013
    Posts
    8

    Need Help with conditional formatting question

    Needing a little help and one of my friends suggested that I try here. I've been tasked with a project for tracking contractos and visitors to my base using access. My supervisor wants the expiration dates of their visit to turn red to indicate that the project or their visitation privileges have expired. I know that it involves conditional formatting and an expression but I'm not sure how to make it work. Any help anyone could give would be greatly appreciated. Thanks.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    An expression like:

    [ExpirationDate] <= Date()
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    TNich is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2013
    Posts
    8
    Quote Originally Posted by pbaldy View Post
    An expression like:

    [ExpirationDate] <= Date()
    Ok, I'm doing that and I get a message that pops up on screen asking for the parameter value. Then when I click on my table I can get things to change to red but it also makes them disappear is there something I need to tweak in this expression that will make it not do that? I don't want it to turn red until it expires and I don't want it to disappear from the form.

  4. #4
    TNich is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2013
    Posts
    8
    I should say it asks for the expiration date when I open the report. I tried inserting the value in the form and the report. because I want it to show up red on the report on the day of expiration.

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Is that field on the report? Can you post the db here?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  6. #6
    TNich is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2013
    Posts
    8
    Quote Originally Posted by pbaldy View Post
    Is that field on the report? Can you post the db here?
    I do have that field on the report. It pulls the info from the form. With the information that has already been entered I don't think I can post the DB here because of security concerns with protected privacy info.

  7. #7
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    We certainly don't want private information posted, but it's getting hard to debug. The parameter prompt is Access telling you it can't find something. Make sure the field is spelled exactly like in the report's source. There may need to be a textbox on the report bound to the field, though it can be hidden.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  8. #8
    TNich is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2013
    Posts
    8
    Ok, took me a while but I cleared the data from it. How to I post it here for you to look at? I am at a stand still with this and really need help to finish. Guess I should take a course at the local college on programming.

  9. #9
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Do a compact/repair, then zip. Then in the advanced reply area you'll see a Manage Attachments button.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  10. #10
    TNich is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2013
    Posts
    8

  11. #11
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    I don't get any prompts, though with no data it will be hard to test the conditional formatting. Where exactly am I looking?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Conditional Formatting
    By riaarora in forum Access
    Replies: 6
    Last Post: 09-03-2012, 05:58 AM
  2. Conditional Formatting
    By bellevue in forum Forms
    Replies: 4
    Last Post: 05-17-2012, 06:03 AM
  3. Newbie VBA question (conditional formatting)
    By alhas in forum Programming
    Replies: 7
    Last Post: 01-16-2012, 08:07 AM
  4. Conditional Formatting
    By ccordner in forum Reports
    Replies: 6
    Last Post: 01-09-2012, 04:12 PM
  5. Conditional Formatting
    By DanOzDirect in forum Reports
    Replies: 3
    Last Post: 07-21-2010, 08:49 PM

Tags for this Thread

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