rep_1401 ‘cf_mosrrepformula’ fatal pl/sql error ora-00904 invalid identifier

5 pts.
Tags:
REP-1401
I'm trying to get the most repeating value on my report so i in formula column I do function cf_mostrepfomula return char is ret_val1 varchar2(20); ret_val2 vachar2(20); begin select test_result,count(test_result) testcount into ret_val1,ret_val2 from lab_trx_details where test-id=:test_id and branch_id =:branch_id having (count(test_result)>1) group by test_result order by test_count if ret_val1 is not null then return(ret_val1);  else retun 0;  end if;  end;

Software/Hardware used:
oracle report
ASKED: June 2, 2012  6:41 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following