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
REP-300: Missing Right Parentesis
- dr_gori
- 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
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:
I believe that it is considering the last parentheses as part of the variable.
Type:
in ( ¶metro )
-
- 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
-
- 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 :: |
- dr_gori
- 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
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.
It may be that Reports have others and the problem is elsewhere.
Hello, how are you?
I make a formula field with a function that returns the list of values ??
aí in the select I put:
I make a formula field with a function that returns the list of values ??
function filtroFormula return varchar2 is
begin
return ' and c.cod_prop in('||:xparametro||') ';
end;
select * from tprop c where &filtro
-
- Information
-
Who is online
Users browsing this forum: No registered users and 10 guests