Crystal Reports 8.5 with Oracle.
I am trying to push down a record selection formula to the database. However, the formula is not getting to the WHERE clause. My formula is very simple:
//@RecSelect
//two parameters, Param1={?Gender}, Param2={?Age}
If {?Gender}='Male' Then
Table1.Age >={?Age}
Else If {?Gender}='Female' Then
Table1.Age <={?Age}
I should the WHERE clause to say
WHERE
Table1.Age >=30 // in case of Male and Age=30
Any idea why I am not able to see it? If I just have on line in the record selection, like:
Table1.Age >={?Age}, it shows in the WHERE clause.
I am trying to push down a record selection formula to the database. However, the formula is not getting to the WHERE clause. My formula is very simple:
//@RecSelect
//two parameters, Param1={?Gender}, Param2={?Age}
If {?Gender}='Male' Then
Table1.Age >={?Age}
Else If {?Gender}='Female' Then
Table1.Age <={?Age}
I should the WHERE clause to say
WHERE
Table1.Age >=30 // in case of Male and Age=30
Any idea why I am not able to see it? If I just have on line in the record selection, like:
Table1.Age >={?Age}, it shows in the WHERE clause.