I'm trying to create a formula that says if [% Compl]>0 and [original]=1, then return a 1, else 0: this is the formula I used:
ACT_STARTS: IIf(([% COMP]>0 & [ORIGINAL]=1),1,0) but it's returning everything as a 0, can anyone help?
I'm trying to create a formula that says if [% Compl]>0 and [original]=1, then return a 1, else 0: this is the formula I used:
ACT_STARTS: IIf(([% COMP]>0 & [ORIGINAL]=1),1,0) but it's returning everything as a 0, can anyone help?

This month, every Windows Secrets subscriber can download a one-chapter excerpt of Windows 7: The Missing Manual.Windows 7: The Missing Manual provides valuable information to help you overcome these difficulties in learning a new operating system. Subscribe today to download your free excerpt.
try :
ACT_STARTS: IIf(([% COMP]>0 And [ORIGINAL]=1),1,0)
Francois
http://www.wopr.com/S/Belgium.gif
The & operator is meant to concatenate strings:
strFirst = "Woody"
strLast = "Leonhard"
strTotal = strFirst & " " & strLast
This results in "Woody Leonhard".
You need the And operator:
IIf([% COMP]>0 And [ORIGINAL]=1,1,0)
Note: although it is allowed, I would never include a % in a field name (and I avoid spaces too.) Sometimes, using special characters can lead to unexpected results.
Yes! it worked, thank you