Jump to content
We've recently updated our Privacy Statement, available here ×

how to use " select top x records from table" in jaspersoft studio


f.nourazar

Recommended Posts

Hello all,

I want to use " SELECT TOP p from table1" which p is a parameter that the user defines in generation time. I have used  " SELECT TOP $P{p} from ... " but it is not correct. Although I can display just #numbers of records in my report using $V{REPORT_COUNT} and a parameter, I do not want this case. I want to realy fetch only p records from database.

can anyone help me?

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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...