Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Negative Report parameters via URL

Status
Not open for further replies.

ssudha

Technical User
Oct 14, 2002
62
IN
I am calling a report via URL as:

But it is giving error as:
The syntax of the value for prompt 'P_AMOUNT' is incorrect near '-5000'. Please correct the syntax and try again.

How can I pass negative values as report parameters via URL to the Web Component server?

Thanks in advance

sudha
 
Crystal has a fairly decent doc on URL commands. Go to the knowledge base and search the docs for ce8_urlcommands.pdf. I think the problem here is that you need "'s around the -5000..

Lisa
 
Hello Lisa,
You are correct. The error didnot occur when the amount is passed as "-5000". I have modified my JSP code to generate the amount parameter with the double quotes. Previously I was generating it as int type. Thanks for the solution.

Regards,

Sudha
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top