on 06-25-2013 3:00 PM
Hi
I was hoping someone could help me write a conditional formuala for a report.
The report layout and data is entered as follows:
Start Date End Date Absence Reason RTW?
11 June 2013 15 June 2013 Sickness Yes
I want to be able to run a report that only shows a value in the "End Date" field if "RTW?" equals Yes, if "RTW?" equals No, I want the "End Date" field to remain blank. Can anyone help me write the fomula to do this.
thanks
Loula1978
Hi Louise,
Right-click the End Date field on the Details Section and select Format Field > Common tab > click on the formula button beside Suppress and use this code:
{RTW?} = "No"
Replace {RTW?} with the database field for RTW?.
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Strange! I tested with the same values with an Excel Sheet and it works without any errors.
What is 'RTW?'? Is it a database field or a parameter or formula that returns a boolean value?
Does it return the string Yes or No?
Graham's suggestion should work in case it returns a boolean value.
-Abhilash
Thanks both of you, it works fine when I remove the " " from No.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.