Jump to content
JasperReports Library 7.0 is now available ×

Parameters in QueryString (for order by)


2005 IR Help

Recommended Posts

By: David Robison - kc7bfi

Parameters in QueryString (for order by)

2004-10-29 13:52

I want to use a parameter to set the order by field in the query string, such as

 

... order by $P{sortfield}

 

But I get an error that there is a non integer constant after the order by. my guess is that the string value is being bracked with a single quote mark.

 

Has anyone sucessfully done this? Any thoughts or ideas?

David Robison

 

 

 

 

By: Balu - bala-os

RE: Parameters in QueryString (for order by)

2004-10-30 00:22

can you please post your .jrxml file or the complete parameter tag.

 

for clearing understanding of your problem

 

Regards

Bala

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...