Hi,
I want to use Oracle Function in Crystal Report 8.5. The result from this function will be used to filter data from other table. This is what the function is doing:
SELECT QUOTATION_ID
FROM WORK_ORDER_QUOTATION_REP
WHERE RESULT_KEY = p_result_key_
AND param_type_ = 0
UNION
SELECT p_result_key_
FROM dual
WHERE param_type_ <> 0;
Note that p_result_key_ and param_type_ are parameters defined in Crystal report.
I want to use Oracle Function in Crystal Report 8.5. The result from this function will be used to filter data from other table. This is what the function is doing:
SELECT QUOTATION_ID
FROM WORK_ORDER_QUOTATION_REP
WHERE RESULT_KEY = p_result_key_
AND param_type_ = 0
UNION
SELECT p_result_key_
FROM dual
WHERE param_type_ <> 0;
Note that p_result_key_ and param_type_ are parameters defined in Crystal report.