Results 1 to 4 of 4
  1. #1
    bbeernaert is offline Novice
    Windows XP Access 2000
    Join Date
    Aug 2010
    Location
    Belgium
    Posts
    11

    conditional formatting right(..)

    Hi



    I want to apply conditional formatting in access

    I have an expression:
    If(Right(Forms![Planning]![MaNA];1)=('s');true;not true)

    but it doesn't seem to work

    can anyone help me pleasszze ??

    THX

  2. #2
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,043
    Hi,

    you mean having a conditional value? Then use the function Iif:

    Iif(Right(Forms![Planning]![MaNA];1) = 's';true;false)

    for conditional values you can also use the functions Choose or Switch (see help function)

    greetings
    NG

  3. #3
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    I think you only need to put this in the expression box:
    Right([MaNA],1)='s'

  4. #4
    bbeernaert is offline Novice
    Windows XP Access 2000
    Join Date
    Aug 2010
    Location
    Belgium
    Posts
    11
    seems to work

    thx

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

Similar Threads

  1. Conditional Formatting
    By DanOzDirect in forum Reports
    Replies: 3
    Last Post: 07-21-2010, 08:49 PM
  2. Conditional Formatting
    By cevatyildiz in forum Forms
    Replies: 8
    Last Post: 04-30-2010, 12:01 PM
  3. Conditional Formatting (on Open form?)
    By christopheb in forum Forms
    Replies: 0
    Last Post: 03-16-2010, 07:07 AM
  4. Conditional formatting in report
    By RickM in forum Access
    Replies: 1
    Last Post: 09-10-2009, 06:21 PM
  5. Conditional formatting
    By ylivne in forum Reports
    Replies: 1
    Last Post: 07-12-2009, 06:18 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