Unable to generate Reports [message #490433] |
Tue, 25 January 2011 01:25 |
|
sankalputtara
Messages: 53 Registered: January 2011 Location: Bangalore
|
Member |
|
|
Hi everyone. This is my 1st post so kindly excuse me if i have missed to follow any rules of this forum.
I am using the following code to generate my report
pat:= :global.path||'us01127p4';
run_report('heboracle1.pace.internal:7778',
'r1',pat,'c:\','c:\','pdf','pacerep',pl_id,'yes',
'&co_code='||:global.co_code||'&type_sl='||mtype_sl||'&prog_sl='||:global.prog_sl||'&mode='||'default'||'&desname ='||:global.user_fname||'&destype='||'cache'||
'&to_no='||:to_doc_no||'&year='||myear||'&from_no='||:from_doc_no,'no','no','','wide180');
When i set my param form variable as 'Yes' the report parameters window pops up and when i press submit query the report gets generated.
But if i set param form to 'No' then i get a msg saying
TERMINATED_WITH_ERROR-Report output aborted ORA-0000
if i put an exception i am getting a same msg.
The same code is working fine for other forms.
I am new to this domain. Kindly help me at the earliest.
Thanks in Advance
|
|
|
|
|
|
|
|
|