Home » Developer & Programmer » Reports & Discoverer » %p a special reserved character set?
%p a special reserved character set? [message #161879] Tue, 07 March 2006 12:24 Go to next message
tllocke
Messages: 22
Registered: March 2006
Junior Member
I'm trying to build a report that accepts a parameter for an organization name, allowing the user to use the wildcard '%'. If the user searches for an organization starting with 'P', hense entering '%petro%' for example, the parameter gets cut off and displays 'etro%'. Anyone have any suggestions around this? Only happens with '%p'. Thanks.

TL
Re: %p a special reserved character set? [message #162040 is a reply to message #161879] Wed, 08 March 2006 05:54 Go to previous messageGo to next message
kiran
Messages: 503
Registered: July 2000
Senior Member
I just tried in SQL for "%p" it works for me.So there should be some wrong in the way that you are capturing the user parameter(just guessing).

Please check if you can post your code , which will help us to understand more about the issue.

--Kiran.
Re: %p a special reserved character set? [message #162071 is a reply to message #162040] Wed, 08 March 2006 09:56 Go to previous messageGo to next message
tllocke
Messages: 22
Registered: March 2006
Junior Member
Sure... the only reference I have to the parameter is in my "WHERE" statement:

WHERE
(
(
:P_ORG_INST is null and
upper(ORGANIZATION.ORG_NAME) like upper(:P_ORG_SEARCH)
) or (
:P_ORG_INST= ORGANIZATION.ORGANIZATION_INST and
:P_BATCH = CA_NWT_FISCAL.PAYMENT_BATCH_NUMBER
)
) and

Pretty simple I thought. Any help is appreciated. Just doesn't make sense that every other alphabet works!? Stumped.

TL
Re: %p a special reserved character set? [message #162073 is a reply to message #162040] Wed, 08 March 2006 10:00 Go to previous message
tllocke
Messages: 22
Registered: March 2006
Junior Member
Also, if it matters, I'm using Report Builder 9.0.4.0.33 and Oracle 10g db. Thanks again...
Previous Topic: Whether Report printed or not
Next Topic: Creating character mod reports
Goto Forum:
  


Current Time: Fri Jun 28 15:18:00 CDT 2024