In the select expert, I'm using the following formula:
if length {?EmployeeNumber} = 4 then {UNITS.EMPLOYEE_ID} like
{?EmployeeNumber}
So, what I'm tring to do is use select expert to eliminate some data (BTW, the formula is more complicated than this, but I narrowed the problem to this area). However, I'm having a problem. Although {UNITS.EMPLOYEE_ID} is a string value, Crystal Reports is reporting an error with the above line. It wants to add a then after if length. I even put a totext({?EmployeeNumber}), but it still doesn't like it and says (A number, currency, amount, boolean, date, time, date-time, or string is required here and automatically inserts the cursor before the {?EmployeeNumber} .
Is there a problem with the Oracle translation? Am I missing something?
if length {?EmployeeNumber} = 4 then {UNITS.EMPLOYEE_ID} like
{?EmployeeNumber}
So, what I'm tring to do is use select expert to eliminate some data (BTW, the formula is more complicated than this, but I narrowed the problem to this area). However, I'm having a problem. Although {UNITS.EMPLOYEE_ID} is a string value, Crystal Reports is reporting an error with the above line. It wants to add a then after if length. I even put a totext({?EmployeeNumber}), but it still doesn't like it and says (A number, currency, amount, boolean, date, time, date-time, or string is required here and automatically inserts the cursor before the {?EmployeeNumber} .
Is there a problem with the Oracle translation? Am I missing something?