Results 1 to 4 of 4
  1. #1
    JoeMap is offline Novice
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Posts
    2

    replace values with "indicators"

    Hi all, first post here!

    I have a table of information on construction projects. The table includes Project Number, Consultant, Contractor along with nearly 20 "date" fields. The table gets edited periodically when paperwork comes in that would update one of these fields.

    I want to create a report that will show (for each record), the Project Number and either a red "X" for a null value (meaning there is information missing in the record for that field, or, a green check mark for a valid value. I've experimented with IIf statements with no success and thought about conditional formatting.

    Ultimately, I will make a macro from it.



    My vba experience is related to a little work with ArcGIS several years ago.

    Thanks for any help.

    JoeMap

  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
    In a report, you could use the detail format event to test your field value and make an image visible or not as appropriate (ie, make the X or the checkmark visible depending on the field). Conditional Formatting can't affect visibility (other than with font color manipulation), and I don't think it works with images anyway.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    JoeMap is offline Novice
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Posts
    2
    Still having issues with testing the value. I've been trying to the "IsNull" and similar ideas in the criteria field because my end goal is a report with the projects down the side and the "landmarks" or important dates at the top. The rest of the sheet would be red x's or green check marks.

    Also can anyone tell me where to find a place to turn on an image in the details section. Or is that something I'll have to call with code? How can I make sure it'll do it for every record?

    Thanks,

    JoeMap

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    It is something you'll have to do in code, and like I said the detail format event would be the place. It fires for every record.
    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. Replies: 6
    Last Post: 07-25-2012, 06:42 AM
  2. Replies: 3
    Last Post: 04-10-2010, 10:22 AM
  3. replace a empty field with the word "none" how??
    By techexpressinc in forum Queries
    Replies: 1
    Last Post: 01-15-2010, 11:02 AM
  4. change values after checkbox "YES"
    By DonLduk in forum Forms
    Replies: 1
    Last Post: 10-03-2008, 04:47 AM
  5. "Count" and "Countif" in Reports
    By JMantei in forum Reports
    Replies: 1
    Last Post: 06-20-2006, 02:20 PM

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