CrystalUser1
Programmer
Hi,
Can somebody explain what is the following record selection formula doing? This was written by somebody, I need to understand and change the logic.
I am using crysal reports 8.5.
Record Selection Formula:
(trim({%LastNameFirstMName}) = "," and trim({?EmployeeName}) <= " "
or Replace({%LastNameFirstMName}," ","") startswith replace({?Employee}," ",""))
%LasNameFirstMName is the following sql Expression:
{fn CONCAT({fn CONCAT({fn CONCAT({fn RTRIM(Employee."Employee_LNAME")},' ,' )},
{fn LTRIM({fn CONCAT({fn RTRIM(Employee."Employee_FNAME")},' ' )})})},Employee."Employee_MNAME" )}
?EmpployeeName is the parameter in the above record selection formula.
Please help me in understanding the above record selection formuala.
thanks in advance.
Can somebody explain what is the following record selection formula doing? This was written by somebody, I need to understand and change the logic.
I am using crysal reports 8.5.
Record Selection Formula:
(trim({%LastNameFirstMName}) = "," and trim({?EmployeeName}) <= " "
or Replace({%LastNameFirstMName}," ","") startswith replace({?Employee}," ",""))
%LasNameFirstMName is the following sql Expression:
{fn CONCAT({fn CONCAT({fn CONCAT({fn RTRIM(Employee."Employee_LNAME")},' ,' )},
{fn LTRIM({fn CONCAT({fn RTRIM(Employee."Employee_FNAME")},' ' )})})},Employee."Employee_MNAME" )}
?EmpployeeName is the parameter in the above record selection formula.
Please help me in understanding the above record selection formuala.
thanks in advance.