sofiano Posted March 28, 2011 Share Posted March 28, 2011 Hi,I have a problem with table and datasets. When I try to create my table and I write the dataset containing a parameter. It doesn't work on execution. I haven't a dialog box to choose my parameter.Thanks everyone for his answer.. Link to comment Share on other sites More sharing options...
dgangstaz Posted April 6, 2011 Share Posted April 6, 2011 How do you configure your dataset based on a parameter? Link to comment Share on other sites More sharing options...
sofiano Posted April 8, 2011 Author Share Posted April 8, 2011 I used the dialog box "Edit Query" on the "Data set" then I added the parameter into it. When I execute my report, I have the result based on the dafault value of the parameter. It doesn't show me a dialog box to choose it. Link to comment Share on other sites More sharing options...
thegg Posted April 22, 2011 Share Posted April 22, 2011 Hi,Don't know if you have find the way but there it is :In the couple "dataset" & "table" you don't have dialog box who prompt.You must indicate to the table how to pass the parameters :1- select the table you want to use on your report.2- menu-mouse with button of the right3- select "Edit table datasource"4-go to the "Parameters" windows5-select addBy this way you can select the variable you defined "In the dataset" wich is called "parameters" and a contain which is called "Expression". This last can be an expression of your main report : $F{name_variable}Add all parameters you must use in the "dataset in parameters".Expressions in your "dataset in parameters" serves to test/view the good function of your data request and "unfortunately" can be used in default expression by the main project to show you something.c u Post Edited by thegg at 04/22/2011 07:11 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