Results 1 to 3 of 3
  1. #1
    Benzer420 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2015
    Posts
    5

    Question Setting a true or false value dependent on evaluation of 2 different fields.


    I have a form based on a query. 3 of the fields are[CATEGORY], [BOATCLUB NO- AND [BOATCLUB JOINING FEE]. What I'm trying to achieve is to evaluate if [CATEGORY]="VB" OR [BOATCLUB NO] Is Not Null, Set the value to $0.00 or else set the value to $11.00.

    Many Thanks
    Benzer420

  2. #2
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    for an unbound control put the following in the controlsource

    =iif([CATEGORY]="VB" OR not isnull([BOATCLUB NO]),0,11)

    and format the control as currency

  3. #3
    Benzer420 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2015
    Posts
    5
    Many Thanks, works great. It was the last thing I was trying to achieve to finish this database and I'm afraid I had a mental block.

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

Similar Threads

  1. Replies: 8
    Last Post: 10-06-2014, 03:02 PM
  2. True And False
    By azhar2006 in forum Forms
    Replies: 4
    Last Post: 12-23-2013, 03:50 AM
  3. Currency fields and if to get true/false
    By Ruegen in forum Programming
    Replies: 1
    Last Post: 09-29-2013, 07:40 PM
  4. Create report that is True/false dependent
    By nomadinlondon in forum Reports
    Replies: 1
    Last Post: 03-19-2013, 11:24 AM
  5. Yes/No True/False
    By DSTR3 in forum Access
    Replies: 5
    Last Post: 12-04-2010, 05:56 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