f.nourazar Posted August 24, 2014 Share Posted August 24, 2014 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 More sharing options...
rajesh.sirsikar Posted August 25, 2014 Share Posted August 25, 2014 Hi,Please check my blog http://www.rajeshsirsikar.com/conditional-query-using-parameter-value-in-the-query-to-fetch-data/ for the answerRajesh SIrsikar Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now