Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
|
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 15th, 2009, 08:07 AM
Registered User
 
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem in passing parameters to the jasper report

Hi
I am facing problem with passing parameter to the jasper...
I need to pass the list of values to the jasper report for that query is
(select * from sample where $P{sample_id})
and i am passing the parameter as [sample_id like 2 or sample_id like 3]
from the jsp but while passing the parameter to the jasper report it is appending with the coates and i am not getting the result..
the constructed query is like this..
Code:
  
select * from sample where sample_id like 2 or sample_id like 3
Please tell me how do i need to pass the parameter to the jasper in order to achieve the result

Thankyou.





Similar Threads
Thread Thread Starter Forum Replies Last Post
passing parameters to Access Report murtazasif Access VBA 2 November 6th, 2007 12:32 PM
Passing parameters from main report to subreport Swati_Jain Crystal Reports 0 May 24th, 2006 09:04 AM
Passing Parameters to a Report. Roopedog Crystal Reports 4 July 25th, 2005 02:17 AM
Problem passing parameters in Crystal Report. joydip_kanjilal Crystal Reports 0 October 8th, 2004 01:47 AM
Best practice of Passing Parameters for a report? segeller Crystal Reports 1 August 29th, 2003 01:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.