How to write an expression

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jlcwick
    New Member
    • Nov 2010
    • 2

    #1

    How to write an expression

    I need to add a feild to a query that will compare 2 feilds and enter the word yes in the new feild.
    So Feild a is greater than Feild B new feild should say yes. Can someone please help me, I have created a data base from scratch by looking at these threads and know i am stuck.
  • gnawoncents
    New Member
    • May 2010
    • 214

    #2
    In the Field row in your query, you can type something like what you see below.

    Code:
    YourFieldName: IIf([A]>[B],"Yes","")

    Comment

    • jlcwick
      New Member
      • Nov 2010
      • 2

      #3
      Thank you so much!!

      Comment

      Working...