Help with a formula

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have the following expression in my query:

Expr2: IIf([SCHW ADV NETWORK - New]="Yes",[TOTAL FEE]-0)

The choice is now not only "Yes" but "Yes - New" and I want the same thing
to happen for either choice TOTAL FEE - 0. How do I add this to the
existing formula?

Any help would be greatly appreciated!!!
 
Jeanette said:
I have the following expression in my query:

Expr2: IIf([SCHW ADV NETWORK - New]="Yes",[TOTAL FEE]-0)

The choice is now not only "Yes" but "Yes - New" and I want the same
thing to happen for either choice TOTAL FEE - 0. How do I add
this to the existing formula?

Any help would be greatly appreciated!!!

Expr2: IIf([SCHW ADV NETWORK - New] In("Yes", "Yes - New"),[TOTAL FEE]-0)

or

Expr2: IIf([SCHW ADV NETWORK - New] Like "Yes*",[TOTAL FEE]-0)
 
Rick:

The second one you suggested worked for me. Thank you so much for your help!

Have a GREAT day.

Rick Brandt said:
Jeanette said:
I have the following expression in my query:

Expr2: IIf([SCHW ADV NETWORK - New]="Yes",[TOTAL FEE]-0)

The choice is now not only "Yes" but "Yes - New" and I want the same
thing to happen for either choice TOTAL FEE - 0. How do I add
this to the existing formula?

Any help would be greatly appreciated!!!

Expr2: IIf([SCHW ADV NETWORK - New] In("Yes", "Yes - New"),[TOTAL FEE]-0)

or

Expr2: IIf([SCHW ADV NETWORK - New] Like "Yes*",[TOTAL FEE]-0)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Formula Help 3
Formula Help!!! 6
Formula Help Needed 1
Access Query problem 1
Doesn't recognize Crosstab gen Fields 5
Dont count negatives...???/ 3
Multiple expressions in one query returning errors 2
Expression Troubles 5

Back
Top