Results 1 to 5 of 5
  1. #1
    olkev is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2014
    Location
    West Texas
    Posts
    3

    Noob question - Producing an expression

    I am very much a novice at this. I am creating a form for a dues notice in Access 2010.



    In my database, if there is a dollar amount entered, then the person has paid their previous dues and is not in arrears. If the field is blank, (Null) then they are $20 in arrears.

    I am having a difficult time trying to set up an expression that basically says, “ If my field "Chapter dues 2013-14" is empty (is null) then they are $20 in arrears.” I want to show arrears and current dues and calculate for a total. I cant get past the "arrears" part right now.


    I think it is something close to this: =IIf[Chapter dues 2013-14]Is Null=20

    But, I cannot get it to work and I don't know if I am even close.


    Any help is greatly appreciated.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    Try:

    =IIf(IsNull([Chapter dues 2013-14]), "$20", Null)
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    olkev is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2014
    Location
    West Texas
    Posts
    3
    Comes back with an error saying This control has a reference to itself.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    Circular reference - give the textbox a different name, like tbxDues.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    olkev is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2014
    Location
    West Texas
    Posts
    3
    Bingo!!

    Thanks

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

Similar Threads

  1. Replies: 6
    Last Post: 10-09-2013, 02:08 PM
  2. Complete noob question
    By lithium630 in forum General Chat
    Replies: 3
    Last Post: 12-12-2012, 10:03 PM
  3. Please help noob question.
    By Deano in forum Forms
    Replies: 3
    Last Post: 01-24-2011, 12:33 PM
  4. Total Noob Question
    By skubeedoo in forum Access
    Replies: 18
    Last Post: 09-23-2010, 03:03 PM
  5. HELP NOOB! Easy question
    By SigmaBlu in forum Queries
    Replies: 1
    Last Post: 10-10-2009, 11:23 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