Results 1 to 4 of 4
  1. #1
    ocm is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    39

    modify report display

    Hi,
    I created access report with the field in my report displaying 1,2 and 3 as values. How can I modify the report to display the following instead?



    If value= 1 show “closed on site”
    IF value 2 show “closed off site” etc.

    TIA

    Regards,

  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,518
    Most flexible is having a table with the values in two fields, and join to that table in the report's source query. You can hard-code it with the Switch() function or nested IIf() functions.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    ocm is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    39
    Paul,

    Thanks, it is working now. The nested IIF( ) function did the trick.

    Regards,

  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,518
    No problem.
    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: 3
    Last Post: 05-24-2017, 01:26 PM
  2. How to modify code to open report instead of form
    By kassem in forum Programming
    Replies: 4
    Last Post: 06-10-2014, 07:02 PM
  3. How to modify report based on input form
    By pmatush in forum Reports
    Replies: 1
    Last Post: 02-22-2013, 09:47 PM
  4. How to modify sub report record source
    By EddieN1 in forum Reports
    Replies: 4
    Last Post: 12-12-2011, 06:57 AM
  5. Replies: 2
    Last Post: 02-20-2010, 01:11 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