Crystal 11, MS SQL database connecting to stored procedure with ODBC.
I calculate a figure based on whether it comes from a certain department and whether it is in a certain group of employees. So I made a formula to determine the certain departments like this:
(The {@RenderingDepartments} formula is:
If {dch_MonthlyPmtsWithSIMandDept;1.department} = 'Miscellaneous'
Then 'yes'
Else 'no')
And a similar one for employees.
Now can I use this to evaluate if both are true?
{@RenderingDepartments} = 'Yes'
and {@OurEmployeeThenYes} = 'Yes'
What I'm wondering is what a formula like the one directly above evaluates to ('Yes'? or True? Is it True if they are both True and False if some are Yes and some are No?) What if one of them is No?
Should I be using = 1 instead of Yes and then using a formula that says if = 2 then it is true?
Thank you
I calculate a figure based on whether it comes from a certain department and whether it is in a certain group of employees. So I made a formula to determine the certain departments like this:
(The {@RenderingDepartments} formula is:
If {dch_MonthlyPmtsWithSIMandDept;1.department} = 'Miscellaneous'
Then 'yes'
Else 'no')
And a similar one for employees.
Now can I use this to evaluate if both are true?
{@RenderingDepartments} = 'Yes'
and {@OurEmployeeThenYes} = 'Yes'
What I'm wondering is what a formula like the one directly above evaluates to ('Yes'? or True? Is it True if they are both True and False if some are Yes and some are No?) What if one of them is No?
Should I be using = 1 instead of Yes and then using a formula that says if = 2 then it is true?
Thank you