REP-300: Missing Right Parentesis

Dicas e truques sobre Oracle Reports Builder - modo gráfico ou modo caractere, ascii, arquivo .PRT, etc
Post Reply
victorlazari
Rank: Estagiário Sênior
Rank: Estagiário Sênior
Posts: 8
Joined: Thu, 21 Mar 2013 8:28 am

Speaks galera,

After converting Report 6i to 11g, some reports have stopped working, because, have the following message: REP-300: Missing Right Parenthesis.

The problem is occurring due to a parameter that is informed a list of values ??and used in Query with & in front of the parameter instead of :.
ex. 'Du', 'ct', 'cp', 'ca' - in query -> field in (¶meter)
if I remove this line, the report works normally, now Leave this line, he says there are no right parentheses.

has other reports so also, however, the parameter type is numeric, in this case, no problem occurs.

Does anyone have any suggestions of what could be?

Thanks,
Victor
User avatar
dr_gori
Moderador
Moderador
Posts: 5024
Joined: Mon, 03 May 2004 3:08 pm
Location: Portland, OR USA
Contact:
Thomas F. G

Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered

Try to place a blank space inside the parentheses.
Type:

Select all

in ( &parametro )
I believe that it is considering the last parentheses as part of the variable.
victorlazari
Rank: Estagiário Sênior
Rank: Estagiário Sênior
Posts: 8
Joined: Thu, 21 Mar 2013 8:28 am

Puts !! Thank you very much! That was it! I would not have identified this so early !! hehehe: -The: -O: -O
victorlazari
Rank: Estagiário Sênior
Rank: Estagiário Sênior
Posts: 8
Joined: Thu, 21 Mar 2013 8:28 am

In fact, a miracle occurred at the moment, and the problem ended up coming back! Even with the spaces, nothing to work! : Oops :: Cry :: |
User avatar
dr_gori
Moderador
Moderador
Posts: 5024
Joined: Mon, 03 May 2004 3:08 pm
Location: Portland, OR USA
Contact:
Thomas F. G

Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered

Try to comment on this line to see if the problem is really there.
It may be that Reports have others and the problem is elsewhere.
RJG
Rank: Analista Júnior
Rank: Analista Júnior
Posts: 79
Joined: Tue, 16 May 2006 11:40 am
Location: Patos de Minas - MG

Hello, how are you?
I make a formula field with a function that returns the list of values ??

Select all

 
function filtroFormula return varchar2 is 
begin 
 return ' and c.cod_prop in('||:xparametro||') '; 
end; 
 
aí in the select I put:

Select all

select * from tprop c where &filtro 
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests