View Full Version : [FORMS] add_parameter problem - parenthesis
Hello,
I've got the problem with ADD_PARAMETER function. I have to pass the
varchar2 parameter to report and problem appeares when the string contains
the parenthesis ("). Do you know what to do to pass parenthesis to the
report wih add_parameter? Of course I can replace this sign with for example
', but - if its possible - I'd rather not to change value of a string.
Thans for any advice, qba.
Anna C. Dent
10-27-2003, 07:59 AM
qba wrote: Hello, I've got the problem with ADD_PARAMETER function. I have to pass the varchar2 parameter to report and problem appeares when the string contains the parenthesis ("). Do you know what to do to pass parenthesis to the report wih add_parameter? Of course I can replace this sign with for example ', but - if its possible - I'd rather not to change value of a string.
I use CHR() function to concatenate "special" characters;
such as parenthesis or signle quote marks, into VARCHAR2 variables.
> I use CHR() function to concatenate "special" characters; such as parenthesis or signle quote marks, into VARCHAR2 variables.
I have got the situation: there is an element (param_value) on the canvas
which is edited by users, I take the value this elmt and with add_parameter
add to the list of parameters, then I run reports.
----
add_parameter(list_id, param_name, TEXT_PARAMETER, :block_name.param_value);
....
run_product(reports,.......);
----
Replacing sign " with chr(ascii('"')) in the string :block_name.param_value
changes nothing - list still contains bad sign.
MyLounge.com Site Map
Forum:
Cars,
Cell Phone,
Database,
Games,
Home Improvement,
IT,
Music,
School,
Sports,
Web Design,
Web Server,
Weight Loss
The MyLounge.com forum is intended for informational use only and should not
be relied upon and is not a substitute for any advice. The information contained
on MyLounge.com are opinions and suggestions of members and is not a representation
of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for
the accuracy, completeness or usefulness of any postings or the qualifications
of any person responding. Please consult a expert or seek the services of an
attorney in your area for more accuracy on your specific situation. Please note
that our forums also serve as mirrors to Usenet newsgroups. Many posts you see
on our forums are made by newsgroup users who may not be members of MyLounge.com
Term of Service
vBulletin v3.0.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.