Numeric OR value error in After param [message #280330] |
Tue, 13 November 2007 04:37 |
musman
Messages: 147 Registered: July 2007 Location: Lahore
|
Senior Member |
|
|
am using reports 6i..
using this code in after parameter form
IF
:P_CLIENT='ALL' THEN
:CLIENT:=' ';
ELSE
:CLIENT:='AND (t.buyer IN (select client_code from XYZ where client_code=:P_CLIENT) OR
t.seller In (select client_code from XYZ where client_code=:P_CLIENT))';
but it giving numeric or value error ora-06502 in else part.
For all it`s running fine.
&CLIENT
is in report query.
[Updated on: Tue, 13 November 2007 04:38] Report message to a moderator
|
|
|
|
|
|