Results 1 to 3 of 3
  1. #1
    Mommo is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Aug 2011
    Posts
    2

    Creating an If Then in a table

    I'm very new to Access and know almost nothing

    I am trying to add a field within a table that will equal 1 if an adjacent field equals "yes" and 0 is the adjacent field equals "no"



    I know in excel the equation is: IF(CELL="yes",1,0)

    How would I apply this formula into access.

    Again, I'm a newbie so if you could explain your answer that would be extremely helpful.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    Why?

    IIf(field=Yes,1,0)
    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
    Mommo is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Aug 2011
    Posts
    2
    Thanks a lot!

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

Similar Threads

  1. Creating a Form without a Table
    By ronocoo in forum Forms
    Replies: 11
    Last Post: 05-21-2011, 04:12 PM
  2. creating unique ID on existing table
    By TheShabz in forum Access
    Replies: 6
    Last Post: 01-24-2011, 03:53 PM
  3. Creating Yes/No Field Using Make Table
    By orcinus in forum Queries
    Replies: 6
    Last Post: 08-19-2010, 11:09 PM
  4. Creating A Table of Random Date
    By kimimaro_kiddo in forum Access
    Replies: 1
    Last Post: 01-01-2010, 10:20 AM
  5. Creating a string from all records in a table
    By ocordero in forum Programming
    Replies: 2
    Last Post: 08-07-2006, 09:21 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