Results 1 to 2 of 2
  1. #1
    cs93 is offline Novice
    Windows XP Access 2000
    Join Date
    Mar 2011
    Posts
    6

    Access Form If Function

    Hi


    I am using an If function in a form, here it is
    =If([Due Date]=25/10/10 OR 26/10/10, "1/10/10", "YES")
    Sorry if you dont understand it its just an example. when i view the form #Name? appears in the field containing the function.
    The Due Date field definitely exists so i dont know what the problem is. Any help would be appreciated.
    cs93

  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,530
    Two problems; try

    =If([Due Date]=#25/10/10# OR [Due Date]= #26/10/10#, "1/10/10", "YES")
    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. Help with Access - IIf Function
    By cs93 in forum Programming
    Replies: 7
    Last Post: 03-19-2011, 11:52 AM
  2. .Edit function in Access 2007
    By jgelpi16 in forum Programming
    Replies: 3
    Last Post: 11-24-2010, 10:19 AM
  3. Vlookup function in access
    By rici7 in forum Forms
    Replies: 1
    Last Post: 10-16-2010, 04:41 PM
  4. excel function in access
    By lmp101010 in forum Queries
    Replies: 1
    Last Post: 08-03-2010, 05:02 PM
  5. to_char function in Access?
    By Amber_1977 in forum Queries
    Replies: 0
    Last Post: 01-20-2009, 04:45 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