zgadson Posted November 29, 2018 Share Posted November 29, 2018 I have been able to create numerous complex reports just by trial and error, but I'm now at an impasse. I only have domain access to create reports, so I cannot use basic SQL select statements.I have a field called Load.TransportModeName and this field only contains 2 values ("LTL" and "TL"). I need an input parameter that asks the user to select one or both of these values.Basically, what I need to accomplish is the equivalent of this (I think), but I need to do it at the query level:SELECT * from Load where $X{IN,load.TransportModeName, param_TransitMode} Would very much appreciate any assistance or guidance. Link to comment Share on other sites More sharing options...
swood_1 Posted December 30, 2018 Share Posted December 30, 2018 Link to comment Share on other sites More sharing options...
swood_1 Posted December 30, 2018 Share Posted December 30, 2018 You can create a query based input control using the "Domain" query language.See https://community.jaspersoft.com/documentation/tibco-jasperreports-server-administrator-guide/v71/query-based-input-controls#Domain-based_Queriesfor the domain query syntax, which is the same as what you have used in your reports. 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